Working on SL6.
[CODE] $ cat /etc/redhat-release Scientific Linux release 6.0 (Carbon) $ uname -an Linux bigbox.em.local 2.6.32-131.6.1.el6.x86_64 #1 SMP Tue Jul 12 17:14:50 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux
what's the proper way to resolve the following:
CODE $ perl Build.PL Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Build.PL line 4. BEGIN failed--compilation aborted at Build.PL line 4.
I have discovered the following:
$ rpm -qa|grep Build perl-ExtUtils-CBuilder-0.27-119.el6.x86_64 perl-Module-Build-0.3607-1.el5.rf.noarch
so it looks like it's there.
$ sudo updatedb $ locate Build.pm /usr/lib/perl5/vendor_perl/5.8.8/Module/Build.pm
Which doesn't look like it's in the @INC. I could either do a symlink, or just put 5.8.8 in the $INC, but then that would screw up any future updating, not to mention whatever else it'll break.
Thanks in advance!