Subject: | Installation fails with cpan shell |
Hi,
when installing with cpan shell, Task::Kensho fails to detect that Bundle::CPAN is already
installed. This might be a problem with Module::Install.
$ PERL_MM_USE_DEFAULT=1 cpan Task::Kensho
CPAN::SQLite not installed, trying to work without
CPAN: Storable loaded ok (v2.20)
Going to read '/Users/melo/.cpan/Metadata'
Database was generated on Thu, 03 Sep 2009 03:27:19 GMT
Running install for module 'Task::Kensho'
CPAN: YAML loaded ok (v0.70)
CPAN: CPAN::Kwalify loaded ok (v5.50)
Running make for P/PE/PERIGRIN/Task-Kensho-0.17.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.829)
CPAN: Time::HiRes loaded ok (v1.9719)
CPAN: URI::URL loaded ok (v5.03)
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /Users/melo/Documents/cpan/authors/id/P/PE/PERIGRIN/Task-Kensho-
0.17.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.52)
Task-Kensho-0.17/
Task-Kensho-0.17/Changes
Task-Kensho-0.17/inc/
Task-Kensho-0.17/inc/Module/
Task-Kensho-0.17/inc/Module/AutoInstall.pm
Task-Kensho-0.17/inc/Module/Install/
Task-Kensho-0.17/inc/Module/Install/AutoInstall.pm
Task-Kensho-0.17/inc/Module/Install/AutoManifest.pm
Task-Kensho-0.17/inc/Module/Install/Base.pm
Task-Kensho-0.17/inc/Module/Install/Can.pm
Task-Kensho-0.17/inc/Module/Install/Fetch.pm
Task-Kensho-0.17/inc/Module/Install/Include.pm
Task-Kensho-0.17/inc/Module/Install/Makefile.pm
Task-Kensho-0.17/inc/Module/Install/Metadata.pm
Task-Kensho-0.17/inc/Module/Install/Repository.pm
Task-Kensho-0.17/inc/Module/Install/Win32.pm
Task-Kensho-0.17/inc/Module/Install/WriteAll.pm
Task-Kensho-0.17/inc/Module/Install.pm
Task-Kensho-0.17/lib/
Task-Kensho-0.17/lib/Task/
Task-Kensho-0.17/lib/Task/Kensho.pm
Task-Kensho-0.17/Makefile.PL
Task-Kensho-0.17/MANIFEST
Task-Kensho-0.17/META.yml
Task-Kensho-0.17/README
Task-Kensho-0.17/t/
Task-Kensho-0.17/t/00.load.t
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build P/PE/PERIGRIN/Task-Kensho-0.17.tar.gz
CPAN::Reporter not installed. No reports will be sent.
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
of the dependency's installation later.
[Basic Toolchain]
- Bundle::CPAN ...missing.
- local::lib ...loaded. (1.004007)
- version ...loaded. (0.77)
==> Auto-install the 1 optional module(s) from CPAN? [y] y
[Testing]
- Test::Simple ...loaded. (0.94)
- Test::Most ...loaded. (0.21)
- Test::Exception ...loaded. (0.27)
- Test::Pod ...loaded. (1.40)
- Test::Pod::Coverage ...loaded. (1.08)
- Test::Memory::Cycle ...loaded. (1.04)
[Object Oriented Programming]
- Moose ...loaded. (0.89)
- MooseX::Types ...loaded. (0.19)
- Moose::Autobox ...loaded. (0.09)
- MooseX::AttributeHelpers ...missing.
- MooseX::Storage ...missing.
- MooseX::Getopt ...missing.
- MooseX::SimpleConfig ...missing.
- MooseX::StrictConstructor ...missing.
- namespace::autoclean ...loaded. (0.08)
==> Auto-install the 5 optional module(s) from CPAN? [n] n
[Asynchronous Programming]
- POE ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [n] n
[XML Development]
- XML::LibXML ...missing.
- XML::SAX ...missing.
- XML::Generator::PerlData ...missing.
- XML::SAX::Writer ...missing.
==> Auto-install the 4 optional module(s) from CPAN? [n] n
[Web Development]
- Catalyst ...missing.
- Catalyst::View::TT ...missing.
- Catalyst::Model::DBIC::Schema ...missing.
- Catalyst::Devel ...missing.
- Catalyst::Plugin::Session ...missing.
- Catalyst::Plugin::Authentication ...missing.
- Catalyst::Plugin::StackTrace ...missing.
==> Auto-install the 7 optional module(s) from CPAN? [n] n
[Database Development]
- DBI ...missing.
- DBD::SQLite ...missing.
- DBIx::Class ...missing.
- DBIx::Class::Schema::Loader ...missing.
- SQL::Translator ...missing.
==> Auto-install the 5 optional module(s) from CPAN? [n] n
[Web Crawling]
- Bundle::LWP ...loaded. (5.810)
- LWP::Simple ...loaded. (5.827)
- WWW::Mechanize ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [n] n
[Module Development]
- Module::Starter ...missing.
- Module::Install ...loaded. (0.91)
- Devel::NYTProf ...missing.
- Perl::Tidy ...missing.
- Carp::Always ...missing.
- Modern::Perl ...missing.
- Perl::Version ...loaded. (1.009)
- Software::License ...loaded. (0.012)
- Pod::Readme ...missing.
==> Auto-install the 6 optional module(s) from CPAN? [n] n
[Date Modules]
- DateTime ...loaded. (0.50)
- Date::Tiny ...missing.
- Time::ParseDate ...missing.
- Time::y2038 ...missing.
==> Auto-install the 3 optional module(s) from CPAN? [n] n
[Config Modules]
- Config::Any ...missing.
- Config::General ...missing.
==> Auto-install the 2 optional module(s) from CPAN? [n] n
[Useful Command-line Tools]
- App::Ack ...missing.
- Devel::REPL ...missing.
- Module::CoreList ...loaded. (2.18)
==> Auto-install the 2 optional module(s) from CPAN? [n] n
[Script Hackery]
- Smart::Comments ...missing.
- IO::All ...missing.
==> Auto-install the 2 optional module(s) from CPAN? [n] n
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Warning: prerequisite Bundle::CPAN 0 not found.
Writing Makefile for Task::Kensho
Show quoted text
---- Unsatisfied dependencies detected during ----
---- PERIGRIN/Task-Kensho-0.17.tar.gz ----
Bundle::CPAN [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Test::Harness is up to date (3.17).
ExtUtils::CBuilder is up to date (0.260301).
ExtUtils::MakeMaker is up to date (6.55_02).
Module::Build is up to date (0.35).
File::Spec is up to date (3.30).
File::Temp is up to date (0.22).
Scalar::Util is up to date (1.21).
Test::More is up to date (0.94).
Data::Dumper is up to date (2.125).
Digest::SHA is up to date (5.47).
File::HomeDir is up to date (0.86).
Compress::Raw::Bzip2 is up to date (2.021).
Compress::Raw::Zlib is up to date (2.021).
IO::Compress::Base is up to date (2.021).
IO::Uncompress::Gunzip is up to date (2.021).
Compress::Zlib is up to date (2.021).
IO::Zlib is up to date (1.10).
Archive::Tar is up to date (1.52).
Archive::Zip is up to date (1.30).
Net::Cmd is up to date (2.29).
Net::FTP is up to date (2.77).
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0302).
YAML is up to date (0.70).
Parse::CPAN::Meta is up to date (1.40).
Text::Glob is up to date (0.08).
CPAN is up to date (1.9402).
File::Which is up to date (1.07).
Running make for P/PE/PERIGRIN/Task-Kensho-0.17.tar.gz
Has already been unwrapped into directory /Users/melo/.cpan/build/Task-Kensho-0.17-
n5ivqX
CPAN.pm: Going to build P/PE/PERIGRIN/Task-Kensho-0.17.tar.gz
cp lib/Task/Kensho.pm blib/lib/Task/Kensho.pm
Manifying blib/man3/Task::Kensho.3
PERIGRIN/Task-Kensho-0.17.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/perl-5.10.1/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00.load.t
t/00.load.t .. 1/1 # Testing Task::Kensho 0.17
t/00.load.t .. ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.01 csys = 0.06 CPU)
Result: PASS
PERIGRIN/Task-Kensho-0.17.tar.gz
Tests succeeded but one dependency not OK (Bundle::CPAN)
PERIGRIN/Task-Kensho-0.17.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=darwin, osvers=9.7.0, archname=darwin-2level
uname='darwin mrtray.lan 9.7.0 darwin kernel version 9.7.0: tue mar 31 22:52:17 pdt
2009; root:xnu-1228.12.14~1release_i386 i386 '
config_args='-de -Dprefix=/usr/local/perl-5.10.1'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Inc. build 5490)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -
L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -
L/opt/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at Sep 6 2009 07:57:34
%ENV:
PERL5LIB="/Users/melo/.perl5/5.10.1/lib/perl5:/Users/melo/.perl5/5.10.1/lib/perl5/darwin
-2level:/usr/local/git/lib/perl5/site_perl"
PERL_MM_OPT="INSTALL_BASE=/Users/melo/.perl5/5.10.1"
@INC:
/Users/melo/.perl5/5.10.1/lib/perl5/darwin-2level
/Users/melo/.perl5/5.10.1/lib/perl5
/Users/melo/.perl5/5.10.1/lib/perl5/darwin-2level
/usr/local/git/lib/perl5/site_perl
/usr/local/perl-5.10.1/lib/5.10.1/darwin-2level
/usr/local/perl-5.10.1/lib/5.10.1
/usr/local/perl-5.10.1/lib/site_perl/5.10.1/darwin-2level
/usr/local/perl-5.10.1/lib/site_perl/5.10.1
.