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.
  Installing /usr/share/perl/5.8/Test/HACKING.pod
  Cannot forceunlink /usr/share/perl/5.8/Test/Harness.pm: Permission denied at 
/usr/share/perl/5.8/File/Find.pm line 886
make: *** [pure_perl_install] Error 13
  /usr/bin/make install  -- NOT OK
    You may have to su to root to install the package

which is *very* odd.  Where is it getting all that 5.8 stuff from?

  $ perl-5.6.2/bin/perl -V|grep 5.8
  $ grep 5.8 perl-5.6.2/lib/5.6.2/CPAN/Config.pm 
  $

I'm sure I've just done something stupid, cos I know that I had this
working in the past - can someone point out what I've done wrong?

-- 
David Cantrell | London Perl Mongers Deputy Chief Heretic

  All principles of gravity are negated by fear
                                            -- Cartoon Law V

Reply via email to