Perl 5.6.2 has lost its mind

Nicholas Clark nick at ccl4.org
Mon Feb 12 10:55:43 GMT 2007


On Sun, Feb 11, 2007 at 11:12:39PM +0000, David Cantrell wrote:
> I built perl 5.6.2 like this:
> 
> $ sh Configure -Dprefix=blahblah -de

Quite literally that?

> and installed it, and lo and behold, it works!
> 
> $ perl-5.6.2/bin/perl -v
> This is perl, v5.6.2 built for i686-linux
> 
> it can even find the CPAN module:
> 
> $ perl-5.6.2/bin/perl -MCPAN -e shell
> 
> cpan shell -- ...
> 
> but if I try to install a module ...
> 
> Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at Makefile.PL line 2.

What does perl -V give? It looks like you're picking up @INC from an
environment variable.

Nicholas Clark


More information about the london.pm mailing list