go ahead... be a heretic | |
PerlMonks |
Re^2: Bundle::CPAN still failing.by drench (Beadle) |
on Mar 28, 2009 at 12:47 UTC ( [id://753848]=note: print w/replies, xml ) | Need Help?? |
I found this thread after getting a similar error message about /usr/share/perl5/IO/Uncompress/RawInflate.pm, but lack of "make" wasn't my problem. I built Perl 5.10.0 from source, installed it under /opt/local, and put /opt/local/bin at the front of my $PATH. Perl -V says my @INC is:
Yet I was still seeing this error when working in the CPAN shell:
/usr/share/perl5 ? I didn't ask for that (or maybe I inadvertently did by running "Configure -de" when I built it). My kludge was to block Perl from even trying to look at /usr/share/perl5:
This was only necessary once. CPAN.pm learned its lesson and is now looking in the "correct" place for IO::Uncompress::RawInflate. Update 5/1/2009: Scratch most of the above. It wasn't Perl 5.10's fault! It was a PATH problem. Though /opt/local/bin was in my PATH as a 'normal' user, it wasn't under sudo (in some cases), so I was actually using the system Perl without knowing it: So the real fix is to be explicit:
In Section
Seekers of Perl Wisdom
|
|