Subject: | Installation does not work well with CPAN.pm |
There seem to be problems when trying to install or test
Benchmark::Timer with CPAN.pm. I tried
$ /usr/perl5.10.0/bin/cpan -t Benchmark::Timer
and the output was:
...
CPAN.pm: Going to build D/DC/DCOPPIT/Benchmark-Timer-0.7100.tar.gz
CPAN: Expect loaded ok (v1.21)
*** ExtUtils::AutoInstall version 0.59
*** Checking for dependencies...
[Core Features]
- Test::More ...loaded. (0.47)
- Time::HiRes ...loaded. (1.9711)
[Statistical sampling support]
- Statistics::PointEstimation ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y]
*** Dependencies will be installed the next time you type 'make'.
(You may need to do that as the 'root' user.)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Benchmark::Timer
------------------------------------------------------------------------------
CPAN: CPAN::Reporter loaded ok (v1.0601)
cp lib/Benchmark/Timer.pm blib/lib/Benchmark/Timer.pm
/usr/perl5.10.0/bin/perl -Iinc Makefile.PL --config=
--installdeps=Statistics::PointEstimation,0
*** Installing dependencies...
*** You are not allowed to write to the directory
'/home/cpansand/.cpanplus';
the installation may fail due to insufficient permissions.
==> Should we try to re-execute the autoinstall process with 'sudo'? [y]
[END OF OUTPUT]
This should not happen. If I install with CPAN.pm, then the whole
installation process should stick to CPAN.pm and not use CPANPLUS.pm
(which is probably not configured at all on my system).
As other distributions which use ExtUtils::AutoInstall do not have this
problem I suspect the problems arise just because an old version of this
module.
Regards,
Slaven