Subject: | Make test fails under Perl 5.8.4 on FreeBSD |
Here's the output from running "Make test":
root@pit24# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...........NOK 2# Failed test (t/00basic.t at line 11)
# Tried to use 'DBD::Pg'.
# Error: Can't load '/root/.cpan/build/DBD-Pg-1.32/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/.cpan/build/DBD-Pg-1.32/blib/arch/auto/DBD/Pg/Pg.so: Undefined symbol "PQescapeBytea" at /usr/local/lib/perl5/5.8.4/i386-freebsd/DynaLoader.pm line 230.
# at (eval 2) line 2
# Compilation failed in require at (eval 2) line 2.
t/00basic...........ok 3/3# Looks like you failed 1 tests of 3.
t/00basic...........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/3 tests, 66.67% okay
t/01connect.........Use of uninitialized value in concatenation (.) or string at t/01connect.t line 64.
Use of uninitialized value in concatenation (.) or string at t/01connect.t line 64.
#
# Program Version
# DBD::Pg
# PostgreSQL
# DBI 1.42
skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file.
t/01constants.......Can't load '/root/.cpan/build/DBD-Pg-1.32/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/.cpan/build/DBD-Pg-1.32/blib/arch/auto/DBD/Pg/Pg.so: Undefined symbol "PQescapeBytea" at /usr/local/lib/perl5/5.8.4/i386-freebsd/DynaLoader.pm line 230.
at t/01constants.t line 4
Compilation failed in require at t/01constants.t line 4.
BEGIN failed--compilation aborted at t/01constants.t line 4.
# Looks like your test died before it could output anything.
t/01constants.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/01setup...........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file.
t/02attribs.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/03dbmethod........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/03smethod.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/04misc............skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/05arrays..........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/12placeholders....skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/99_pod............skipped
all skipped: Test::Pod 0.95 required for testing POD
t/99cleanup.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00basic.t 1 256 3 1 33.33% 2
t/01constants.t 255 65280 20 40 200.00% 1-20
10 tests skipped.
Failed 2/12 test scripts, 83.33% okay. 21/23 subtests failed, 8.70% okay.
And here is my `Perl -V`:
root@pit24# perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=freebsd, osvers=4.5-stable, archname=i386-freebsd
uname='freebsd pair.com 4.5-stable freebsd 4.5-stable #10: thu jan 22 17:04:10 est 2004 i386 '
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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -I/usr/local/include',
optimize='-g',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]', 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='cc', ldflags ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under freebsd
Compiled at May 7 2004 11:18:37
%ENV:
PERLLIB="/usr/pair/perl"
@INC:
/usr/pair/perl
/usr/local/lib/perl5/5.8.4/i386-freebsd
/usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd
/usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
.