On Wed, Aug 25, 2010 at 9:49 AM, David Cantrell <da...@cantrell.org.uk> wrote:
> I'm obviously doing something Dumb.
>
> I've just built perl 5.6.2:
>  $ sh Configure -de -Dprefix=/home/david/cpantesting/perl-5.6.2
>  $ make
>  $ make test (one test failure cos the machine has too new a Berkeley DB)
>  $ make install
>
> But then when I try to install modules:
>
>  $ perl-5.6.2/bin/perl -MCPAN -e shell
>  > install CPAN
>  ...
>  Warning: You do not have permissions to install into /usr/lib/perl/5.8 at 
> /usr/share/perl/5.8/ExtUtils/Install.pm line 114.

You have to *manually* upgrade some combination of CPAN,
ExtUtils;:Install and ExtUtils::MakeMaker.  I usually upgrade all
three.

I forget which one has the bug, but it's a problem if there are other
perls that come earlier in your path.

-- David

Reply via email to