Hi Eric,

On Mon, Aug 9, 2010 at 12:02 PM, Eric J. Roode wrote:

>> sudo apt-get install libwx-perl
>
> Didn't think of it.  I'm old-school, I'm used to building stuff myself :)

:-)

I started with Linux back when Slackware was the #1 distribution, but
since then I've learned the beauty of APT.


>> $ 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.

I am running Ubuntu 10.04, same as you. On my system:

$ locate Wx.pm
/usr/lib/perl5/Wx.pm

If you look at your @INC path, it does not contain /usr/lib. Every
path in your @INC is /usr/loca/lib/*. Probably because you are used to
compiling everything. Ubuntu / Debian always put their own files in
/usr and /usrl/local is reserved for stuff you compiled yourself.

Cheers,
Daniel.
-- 
Intolerant people should be shot.

Reply via email to