On Mon, Aug 9, 2010 at 3:46 AM, Daniel Carrera <dcarr...@gmail.com> wrote: > On Mon, Aug 9, 2010 at 4:28 AM, Eric J. Roode wrote: >> I am attempting to install WxPerl on a new Ubuntu 10.04 (32-bit, >> desktop) system.... >> Does anyone have any suggestions for getting past this error? TIA. > > Is there a reason why you can't use the Ubuntu package? > > sudo apt-get install libwx-perl
Didn't think of it. I'm old-school, I'm used to building stuff myself :) So I tried installing the package, and it appeared to run successfully: > $ sudo apt-get install libwx-perl > [sudo] password for eric: > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > libalien-wxwidgets-perl libwxbase2.8-dev libwxgtk2.8-dev wx2.8-headers > Suggested packages: > wx2.8-doc wx-common libgl-dev xlibmesa-glu-dev libglu-dev > The following NEW packages will be installed: > libalien-wxwidgets-perl libwx-perl libwxbase2.8-dev libwxgtk2.8-dev > wx2.8-headers > 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. > Need to get 3,172kB of archives. > After this operation, 13.6MB of additional disk space will be used. > Do you want to continue [Y/n]? > Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe wx2.8-headers > 2.8.10.1-0ubuntu1 [1,099kB] > Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe libwxbase2.8-dev > 2.8.10.1-0ubuntu1 [103kB] > Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/universe libwxgtk2.8-dev > 2.8.10.1-0ubuntu1 [104kB] > Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/universe > libalien-wxwidgets-perl 0.50+dfsg-1 [22.9kB] > Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/universe libwx-perl > 0.96-1build1 [1,843kB] > Fetched 3,172kB in 2s (1,066kB/s) > Selecting previously deselected package wx2.8-headers. > (Reading database ... 150963 files and directories currently installed.) > Unpacking wx2.8-headers (from .../wx2.8-headers_2.8.10.1-0ubuntu1_i386.deb) > ... > Selecting previously deselected package libwxbase2.8-dev. > Unpacking libwxbase2.8-dev (from > .../libwxbase2.8-dev_2.8.10.1-0ubuntu1_i386.deb) ... > Selecting previously deselected package libwxgtk2.8-dev. > Unpacking libwxgtk2.8-dev (from > .../libwxgtk2.8-dev_2.8.10.1-0ubuntu1_i386.deb) ... > Selecting previously deselected package libalien-wxwidgets-perl. > Unpacking libalien-wxwidgets-perl (from > .../libalien-wxwidgets-perl_0.50+dfsg-1_i386.deb) ... > Selecting previously deselected package libwx-perl. > Unpacking libwx-perl (from .../libwx-perl_0.96-1build1_i386.deb) ... > Processing triggers for man-db ... > Setting up wx2.8-headers (2.8.10.1-0ubuntu1) ... > Setting up libwxbase2.8-dev (2.8.10.1-0ubuntu1) ... > update-alternatives: using /usr/lib/wx/config/base-unicode-release-2.8 to > provide /usr/bin/wx-config (wx-config) in auto mode. > > Setting up libwxgtk2.8-dev (2.8.10.1-0ubuntu1) ... > update-alternatives: using /usr/lib/wx/config/gtk2-unicode-release-2.8 to > provide /usr/bin/wx-config (wx-config) in auto mode. > > Setting up libalien-wxwidgets-perl (0.50+dfsg-1) ... > Setting up libwx-perl (0.96-1build1) ... > $ But then: > $ perl -MV=Wx > Wx > Not found > $ perl -MWx -e0 > Can't locate Wx.pm in @INC (@INC contains: > /usr/local/lib/perl5/site_perl/5.12.1/i686-linux > /usr/local/lib/perl5/site_perl/5.12.1 /usr/local/lib/perl5/5.12.1/i686-linux > /usr/local/lib/perl5/5.12.1 .). > BEGIN failed--compilation aborted. > $ -- Eric J. Roode