Subject: | Fails tests on OSX |
Hope this helps.
OS X 10.8.6 (Snow Leopard). perl -V is below.
Lee:FifteenGifts-Engine leegoddard$ sudo cpan Data::Validation
CPAN: Storable loaded ok (v2.34)
Reading '/Users/leegoddard/.cpan/Metadata'
Database was generated on Tue, 22 Jan 2013 16:29:02 GMT
Running install for module 'Data::Validation'
Running make for P/PJ/PJFL/data-validation/Data-Validation-0.9.172.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.048)
Checksum for
/Users/leegoddard/.cpan/sources/authors/id/P/PJ/PJFL/data-validation/Data-Validation-0.9.172.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: Module::CoreList loaded ok (v2.76)
CPAN.pm: Building P/PJ/PJFL/data-validation/Data-Validation-0.9.172.tar.gz
Checking prerequisites...
recommends:
* Class::Usul::Time is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
versions
of the modules indicated above before proceeding with this installation
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Data-Validation' version 'v0.9.172'
Building Data-Validation
PJFL/data-validation/Data-Validation-0.9.172.tar.gz
./Build -- OK
CPAN: YAML loaded ok (v0.84)
Running Build test
t/01always_pass.t .. ok
t/02pod.t .......... skipped: POD test only for developers
t/07podspelling.t .. skipped: POD spelling test only for developers
t/10base.t ......... 1/?
# Failed test 'Not valid hostname'
# at t/10base.t line 61.
# got: 'does_not_exist'
# expected: 'eValidHostname'
# Looks like you failed 1 test of 51.
t/10base.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/51 subtests
Test Summary Report
-------------------
t/10base.t (Wstat: 256 Tests: 51 Failed: 1)
Failed test: 11
Non-zero exit status: 1
Files=4, Tests=52, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.78 cusr
0.13 csys = 0.97 CPU)
Result: FAIL
Failed 1/4 test programs. 1/52 subtests failed.
PJFL/data-validation/Data-Validation-0.9.172.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PJFL/data-validation/Data-Validation-0.9.172.tar.gz
Running Build 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$