newbie to OSX perl
but installing Bundle::CPAN is failing
a lot of modules install successfully except when it reaches
"Mac::Files" (I think?) the test fails. what is the best course of
action here?
A complete installation log may be downloaded from:
http://www.enabled.com/~noah/perl-macosx/fail.log.tar.gz
here is a truncated version of the failure from the shell.
Running make for A/AD/ADAMK/File-HomeDir-0.65.tar.gz
Has already been unwrapped into directory
/var/root/.cpan/build/File-HomeDir-0.65-m59GOg
CPAN.pm: Going to build A/AD/ADAMK/File-HomeDir-0.65.tar.gz
Warning: Prerequisite 'Mac::Files => 1.09' for
'A/AD/ADAMK/File-HomeDir-0.65.tar.gz' failed when processing
'C/CN/CNANDOR/Mac-Carbon-0.77.tar.gz' with 'make_test => NO'.
Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Mac::Carbon => 0.77' for
'A/AD/ADAMK/File-HomeDir-0.65.tar.gz' failed when processing
'C/CN/CNANDOR/Mac-Carbon-0.77.tar.gz' with 'make_test => NO'.
Continuing, but chances to succeed are limited.
cp lib/File/HomeDir/Darwin.pm blib/lib/File/HomeDir/Darwin.pm
cp lib/File/HomeDir.pm blib/lib/File/HomeDir.pm
cp lib/File/HomeDir/Unix.pm blib/lib/File/HomeDir/Unix.pm
cp lib/File/HomeDir/MacOS9.pm blib/lib/File/HomeDir/MacOS9.pm
cp lib/File/HomeDir/Windows.pm blib/lib/File/HomeDir/Windows.pm
Manifying blib/man3/File::HomeDir::Darwin.3pm
Manifying blib/man3/File::HomeDir::Unix.3pm
Manifying blib/man3/File::HomeDir.3pm
Manifying blib/man3/File::HomeDir::Windows.3pm
ADAMK/File-HomeDir-0.65.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /sw/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile....ok
t/02_main.......Can't locate Mac/Files.pm in @INC (@INC contains:
/private/var/root/.cpan/build/File-HomeDir-0.65-m59GOg/inc
/private/var/root/.cpan/build/File-HomeDir-0.65-m59GOg/blib/lib
/private/var/root/.cpan/build/File-HomeDir-0.65-m59GOg/blib/arch
/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl .
/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl .) at
/private/var/root/.cpan/build/File-HomeDir-0.65-m59GOg/blib/lib/File/HomeDir/Darwin.pm
line 30.
# Looks like you planned 52 tests but only ran 23.
# Looks like your test died just after 23.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 24-52
Failed 29/52 tests, 44.23% okay
t/99_author.....Failed 1/3 test programs. 29/59 subtests failed.
skipped
all skipped: Author tests not required for installation
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/02_main.t 255 65280 52 58 24-52
1 test skipped.
Failed 1/3 test scripts. 29/59 subtests failed.
Files=3, Tests=59, 0 wallclock secs ( 0.09 cusr + 0.04 csys = 0.13 CPU)
make: *** [test_dynamic] Error 25
ADAMK/File-HomeDir-0.65.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Macintosh-2:/Users/noahgarrettwallach/perl/bin root#
Perl version information
Last login: Fri Aug 10 10:43:00 on ttyp4
Welcome to Darwin!
You have mail.
Macintosh-2:~ noahgarrettwallach$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=8.10.1, archname=darwin-thread-multi-2level
uname='darwin macintosh-2.local 8.10.1 darwin kernel version
8.10.1: wed may 23 16:33:00 pdt 2007; root:xnu-792.22.5~1release_i386
i386 i386 '
config_args='-des -Dcc=gcc -Dcpp=gcc -E -Dprefix=/sw
-Dccflags=-I/sw/include -Dldflags=-L/sw/lib -Dperladmin=none
-Uinstallusrbinperl -Dprivlib=/sw/lib/perl5-core/5.8.8
-Darchlib=/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
-Dman3dir=/sw/lib/perl5-core/5.8.8/man/man3 -Dman3ext=3pm -Duseithreads
-Dinc_version_list=5.8.8/darwin-thread-multi-2level
5.8.6/darwin-thread-multi-2level 5.8.1 5.8.0 5.6.0
-Adefine:startperl=#!/sw/bin/perl5.8.8'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-I/sw/include -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -I/sw/include -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5367)',
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 ='-L/sw/lib
-L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/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='-L/sw/lib -bundle -undefined
dynamic_lookup -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Built under darwin
Compiled at Aug 9 2007 21:52:20
@INC:
/sw/lib/perl5-core/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.8
/sw/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/site_perl
.
Macintosh-2:~ noahgarrettwallach$
Any help appreciated,
Noah