Subject: | ExtUtils::AutoInstall too old? |
(version 0.33)
Attached is a log of a CPAN.pm session (called with
env PERL_EXTUTILS_AUTOINSTALL=--defaultdeps cpan -t Net::UCP
) trying to test/install Net::UCP. As you see, at some point there
should be sudo used. Using modern Module::Install-based modules this
never happens, rather CPAN.pm takes the responsibility for getting the
dependencies and installing them. I think you have probably an old
version of ExtUtils::AutoInstall in the inc/ directory and should
upgrade, or even switch to another builder system.
Regards,
Slaven
Subject: | netucp.log |
Script started on Tue Apr 8 22:44:20 2008
[34mCPAN: Term::ANSIColor loaded ok (v1.11)[0m
[34mCPAN: Storable loaded ok (v2.15)[0m
[34mGoing to read /usr/local/src/CPAN/Metadata[0m
[34m Database was generated on Tue, 08 Apr 2008 19:31:11 GMT[0m
[34mRunning test for module 'Net::UCP'[0m
[34mCPAN: YAML::Syck loaded ok (v0.99)[0m
[34mCPAN: CPAN::Kwalify loaded ok (v5.50)[0m
[34mCPAN: Kwalify loaded ok (v1.16)[0m
[34mRunning make for N/NE/NEMUX/Net-UCP-0.33.tar.gz[0m
[34mCPAN: Digest::SHA loaded ok (v5.44)[0m
[34mCPAN: Compress::Zlib loaded ok (v1.42)[0m
[34mChecksum for /usr/local/src/CPAN/sources/authors/id/N/NE/NEMUX/Net-UCP-0.33.tar.gz ok[0m
x Net-UCP/
x Net-UCP/README
x Net-UCP/MANIFEST
x Net-UCP/t/
x Net-UCP/t/Net-UCP.t
x Net-UCP/inc/
x Net-UCP/inc/ExtUtils/
x Net-UCP/inc/ExtUtils/AutoInstall.pm
x Net-UCP/Changes
x Net-UCP/Makefile.PL
x Net-UCP/lib/
x Net-UCP/lib/Net/
x Net-UCP/lib/Net/UCP.pm
x Net-UCP/samples/
x Net-UCP/samples/ucp-sample-1.pl
x Net-UCP/META.yml
[34mCPAN: File::Temp loaded ok (v0.18)[0m
[34m
CPAN.pm: Going to build N/NE/NEMUX/Net-UCP-0.33.tar.gz[0m
[34mCPAN: CPAN::Reporter loaded ok (v1.13)[0m
*** ExtUtils::AutoInstall version 0.61
*** Checking for dependencies...
[Core Features]
- Carp ...loaded. (1.04)
- IO::Socket ...loaded. (1.30)
- IO::Select ...loaded. (1.17)
- Time::HiRes ...loaded. (1.87)
- Net::UCP::Common ...missing.
- Net::UCP::IntTimeout ...missing.
- Net::UCP::TransactionManager ...missing.
==> Auto-install the 3 mandatory module(s) from CPAN? [Y/n] 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 Net::UCP
(/usr/local/bin/perl Makefile.PL exited with 0)
[34mCPAN::Reporter: Makefile.PL result is 'pass'[0m[34m, No errors[0m[34m.[0m
cp lib/Net/UCP.pm blib/lib/Net/UCP.pm
/usr/local/bin/perl Makefile.PL --config= --installdeps=Net::UCP::Common,0,Net::UCP::IntTimeout,0,Net::UCP::TransactionManager,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] ^C[1;31mCPAN::Reporter: couldn't determine exit value for '/usr/bin/make'[0m
[1;31mCPAN::Reporter: had errors capturing exit value and output. Tests abandoned[0m[34m NEMUX/Net-UCP-0.33.tar.gz[0m
[34m /usr/bin/make -- OK[0m
[34mRunning make test[0m
/usr/local/bin/perl Makefile.PL --config= --installdeps=Net::UCP::Common,0,Net::UCP::IntTimeout,0,Net::UCP::TransactionManager,0
^C[1;31mCPAN::Reporter: couldn't determine exit value for '/usr/bin/make test'[0m
[1;31mCPAN::Reporter: had errors capturing exit value and output. Tests abandoned[0m[34m NEMUX/Net-UCP-0.33.tar.gz[0m
[1;31m /usr/bin/make test -- NOT OK[0m
[34m//hint// to see the cpan-testers results for installing this module, try:
reports NEMUX/Net-UCP-0.33.tar.gz[0m
^C
Script done on Tue Apr 8 22:44:33 2008