Perl 5.6.2 has lost its mind

Matt Wilson codebrewery at gmail.com
Mon Feb 12 13:04:17 GMT 2007


On 2/12/07, David Cantrell <david at cantrell.org.uk> wrote:
> > What does perl -V give?
>
>   ...
>   Compile-time options: USE_LARGE_FILES
>   Built under linux
>   Compiled at Feb 12 2007 12:11:12
>   @INC:
>     /home/david/cpantesting/perl-5.6.2/lib/5.6.2/i686-linux
>     /home/david/cpantesting/perl-5.6.2/lib/5.6.2
>     /home/david/cpantesting/perl-5.6.2/lib/site_perl/5.6.2/i686-linux
>     /home/david/cpantesting/perl-5.6.2/lib/site_perl/5.6.2
>     /home/david/cpantesting/perl-5.6.2/lib/site_perl
>     .
>
> but no, it definitely can't find MakeMaker.pm:
>
>   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

Umm, well that's wrong. The perl binary you're using for Makefile.PL
is different to the one above (`perl -V`), or at least that's my guess
as they one running Makefile.PL is using a 5.8.4 @INC - how did you
invoke the makefile? (Having worked in an environment that has many
different versions of Perl installed I know how painful it can be
tracking down /exactly/ which binary you're using).

> despite this:
>
>   $ find /home/david/cpantesting/perl-5.6.2 -name MakeMaker.pm -print
>   /home/david/cpantesting/perl-5.6.2/lib/5.6.2/ExtUtils/MakeMaker.pm


More information about the london.pm mailing list