Subject: | Tests/instsall fails on OSX 10.8.6 (Snow Leopard) Perl 5.16.2 |
Please let me know if you need more info.
Lee:FifteenGifts-Engine leegoddard$ sudo cpan Switch
CPAN: Storable loaded ok (v2.34)
Reading '/Users/leegoddard/.cpan/Metadata'
Database was generated on Thu, 24 Jan 2013 07:07:16 GMT
Running install for module 'Switch'
Running make for R/RG/RGARCIA/Switch-2.16.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.048)
Checksum for
/Users/leegoddard/.cpan/sources/authors/id/R/RG/RGARCIA/Switch-2.16.tar.gz
ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN.pm: Building R/RG/RGARCIA/Switch-2.16.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Switch
Writing MYMETA.yml and MYMETA.json
CPAN: Module::CoreList loaded ok (v2.76)
cp Switch.pm blib/lib/Switch.pm
Manifying blib/man3/Switch.3
RGARCIA/Switch-2.16.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.84)
Running make test
PERL_DL_NONLAZY=1
/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/given.t ... Useless use of numeric gt (>) in void context at t/given.t
line 19.
t/given.t ... Failed 2/293 subtests
t/nested.t .. ok
t/switch.t .. ok
Test Summary Report
-------------------
t/given.t (Wstat: 0 Tests: 293 Failed: 2)
Failed tests: 2-3
Files=3, Tests=590, 1 wallclock secs ( 0.08 usr 0.01 sys + 0.53 cusr
0.02 csys = 0.64 CPU)
Result: FAIL
Failed 1/3 test programs. 2/590 subtests failed.
make: *** [test_dynamic] Error 255
RGARCIA/Switch-2.16.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RGARCIA/Switch-2.16.tar.gz
Running make install
make test had returned bad status, won't install without force
Lee:FifteenGifts-Engine leegoddard$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:
Platform:
osname=darwin, osvers=10.8.0, archname=darwin-2level
uname='darwin lee.local 10.8.0 darwin kernel version 10.8.0: tue jun
7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386 '
config_args='-de
-Dprefix=/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2
-Aeval:scriptdir=/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing
-pipe -fstack-protector -I/opt/local/include',
optimize='-O3',
cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/opt/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, 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=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, 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: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under darwin
Compiled at Dec 21 2012 20:16:03
%ENV:
PERLBREW_BASHRC_VERSION="0.58"
PERLBREW_HOME="/Users/leegoddard/.perlbrew"
PERLBREW_MANPATH="/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/man"
PERLBREW_PATH="/Users/leegoddard/perl5/perlbrew/bin:/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/bin"
PERLBREW_PERL="perl-5.16.2"
PERLBREW_ROOT="/Users/leegoddard/perl5/perlbrew"
PERLBREW_VERSION="0.58"
@INC:
/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/darwin-2level
/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2
/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/darwin-2level
/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2
.
Lee:FifteenGifts-Engine leegoddard$