Subject: | Fails Tests on CentOS (RedHat) |
Perl -V at end.
bash-3.00# cd /root/.cpan/build/GD
GDGraph-1.4308/ GDTextUtil-0.86/
bash-3.00# cd /root/.cpan/build/GDTextUtil-0.86/
bash-3.00# perl Makefile.PL
Writing Makefile for GD::Text
bash-3.00# make
Manifying blib/man3/GD::Text::Wrap.3pm
Manifying blib/man3/GD::Text.3pm
Manifying blib/man3/GD::Text::Align.3pm
bash-3.00# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/align....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-
thread-multi/auto/GD/GD.so' for module
GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-
multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/align.t line 8
Compilation failed in require at t/align.t line 8.
BEGIN failed--compilation aborted at t/align.t line 8.
# Looks like your test died before it could output anything.
t/align....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/text.....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-
thread-multi/auto/GD/GD.so' for module
GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-
multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/text.t line 8
Compilation failed in require at t/text.t line 8.
BEGIN failed--compilation aborted at t/text.t line 8.
# Looks like your test died before it could output anything.
t/text.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/wrap.....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-
thread-multi/auto/GD/GD.so' for module
GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-
multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/wrap.t line 7
Compilation failed in require at t/wrap.t line 7.
BEGIN failed--compilation aborted at t/wrap.t line 7.
# Looks like your test died before it could output anything.
t/wrap.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
--------
t/align.t 255 65280 21 42 200.00% 1-21
t/text.t 255 65280 20 40 200.00% 1-20
t/wrap.t 255 65280 14 28 200.00% 1-14
Failed 3/3 test scripts, 0.00% okay. 55/55 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
bash-3.00# perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.6.9-42.elsmp, archname=i386-linux-thread-
multi
uname='linux build-i386 2.6.9-42.elsmp #1 smp sat aug 12 09:39:11
cdt 2006 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -
mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -
Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -
Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -
Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -
Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -
Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -
Dinstallusrbinperl -Ubincompat5005 -Uversiononly -
Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1
5.8.0'
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 ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-
strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-
aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -
lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -
Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Aug 12 2006 17:09:08
@INC:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
bash-3.00#