Subject: | CPANPLUS 0.072 - Does not install pre-requisite Package::Constants |
Installing CPANPLUS 0.072 on (PPC) MacoS X (10.4.6) with Perl 5.8.8, the
pre-requisite Package::Constants was not installed automatically.
Manifying blib/man3/CPANPLUS::Shell::Default::Plugins::Source.3
PERL_DL_NONLAZY=1 /Users/jleffler/perl/v5.8.8/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib',
'blib/arch')" t/*.t
t/00_CPANPLUS-Inc....................ok
t/00_CPANPLUS-Internals-Utils........Can't locate Package/Constants.pm
in @INC (@INC contains:
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/config
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/inc
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/../lib
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/inc
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/blib/lib
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/blib/arch
/Users/jleffler/perl/v5.8.8/lib/5.8.8/darwin-2level
/Users/jleffler/perl/v5.8.8/lib/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl .) at
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/../lib/CPANPLUS/Internals/Constants.pm
line 13.
BEGIN failed--compilation aborted at
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/../lib/CPANPLUS/Internals/Constants.pm
line 13.
Compilation failed in require at
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/../lib/CPANPLUS/Internals/Utils.pm
line 6.
BEGIN failed--compilation aborted at
/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072/t/../lib/CPANPLUS/Internals/Utils.pm
line 6.
Compilation failed in require at t/00_CPANPLUS-Internals-Utils.t line 32.
BEGIN failed--compilation aborted at t/00_CPANPLUS-Internals-Utils.t
line 32.
# Looks like your test died before it could output anything.
Manually installing Package::Constants fixed that.
I also ran into problems with window size - but this is common to other
modules (like Term::ReadLine::Perl) too. It happened when I tried to
install the new CPANPLUS from within cpanp (and before running into the
Package::Constants problem).
[MSG] Extracted 'CPANPLUS-0.072/t/src/MM/xs/Foo-Bar-0.01.tar.gz'
[MSG] Extracted 'CPANPLUS' to
'/Users/jleffler/.cpanplus/5.8.8/build/CPANPLUS-0.072'
==> MISSING Signature file! <==
Running [/Users/jleffler/perl/v5.8.8/bin/perl
-MCPANPLUS::Internals::Utils::Autoflush Makefile.PL ]...
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
COLUMNS and LINES environment variables didn't work. The resize program
didn't work. at
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/Term/ReadKey.pm
line 362.
Compilation failed in require at
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/Term/ReadLine/Perl.pm
line 63.
[ERROR] Could not run '/Users/jleffler/perl/v5.8.8/bin/perl
Makefile.PL': Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't
work. The COLUMNS and LINES environment variables didn't work. The
resize program didn't work. at
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/Term/ReadKey.pm
line 362.
Compilation failed in require at
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/Term/ReadLine/Perl.pm
line 63.
-- cannot continue
--
Jonathan Leffler <jleffler@earthlink.net> <jleffler@us.ibm.com>
Guardian of DBD::Informix 2003.04 -- see http://dbi.perl.org/
"I don't suffer from insanity - I enjoy every minute of it!"
perl -V output:
perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=8.4.0, archname=darwin-2level
uname='darwin osiris.local 8.4.0 darwin kernel version 8.4.0: tue
jan 3 18:22:10 pst 2006; root:xnu-792.6.56.obj~1release_ppc power
macintosh powerpc '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef 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 -Wdeclaration-after-statement
-I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5247)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
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 =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -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'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at Feb 15 2006 19:27:48
%ENV:
PERL5_CPANPLUS_CONFIG="/Users/jleffler/.cpanplus/config"
@INC:
/Users/jleffler/perl/v5.8.8/lib/5.8.8/darwin-2level
/Users/jleffler/perl/v5.8.8/lib/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level
/Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8
/Users/jleffler/perl/v5.8.8/lib/site_perl
.