Subject: | subdb test fails on BerkeleyDB-0.26 on OpenBSD 3.6 |
I'm having trouble installing BerkeleyDB-0.26 via CPAN on OpenBSD 3.6. I have installed Berkeley DB from the OpenBSD package: "db-4.2.52p1" I have also setup symlinks to point to the lib and include directories referenced in the default CPAN config.in file:
mkdir /usr/local/BerkeleyDB
ln -s /usr/local/lib/db4 /usr/local/BerkeleyDB/lib ln -s /usr/local/include/db4 /usr/local/BerkeleyDB/include
The make seems to run correctly and without errors. However, the make test fails on the subdb section. Here's the output:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/btree........ok t/cds..........ok t/db-3.0.......ok t/db-3.1.......ok t/db-3.2.......ok t/db-3.3.......ok t/destroy......ok t/encrypt......ok t/env..........ok t/examples.....ok t/examples3....ok t/filter.......ok t/hash.........ok t/join.........ok t/mldbm........ok t/pod..........ok t/queue........ok t/recno........ok t/strict.......ok t/subdb........FAILED tests 33, 39
Failed 2/43 tests, 95.35% okay
t/txn..........ok
t/unknown......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/subdb.t 43 2 4.65% 33 39
Failed 1/22 test scripts, 95.45% okay. 2/1446 subtests failed, 99.86% okay.
*** Error code 2
Stop in /root/.cpan/build/BerkeleyDB-0.26 (line 849 of Makefile).
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Here's my perl -V:
---------------------
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=openbsd, osvers=3.6, archname=i386-openbsd
uname='openbsd'
config_args='-dsE -Dopenbsd_distribution=defined'
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 ='-fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010125 (prerelease, propolice)', gccosandvers='openbsd3.6'
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 '
libpth=/usr/lib
libs=-lm -lutil -lc
perllibs=-lm -lutil -lc
libc=/usr/lib/libc.so.34.1, so=so, useshrplib=true, libperl=libperl.so.10.0
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-R/usr/libdata/perl5/i386-openbsd/5.8.5/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC '
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under openbsd
Compiled at Sep 10 2004 14:47:32
@INC:
/usr/libdata/perl5/i386-openbsd/5.8.5
/usr/local/libdata/perl5/i386-openbsd/5.8.5
/usr/libdata/perl5
/usr/local/libdata/perl5
/usr/local/libdata/perl5/site_perl/i386-openbsd
/usr/libdata/perl5/site_perl/i386-openbsd
/usr/local/libdata/perl5/site_perl
/usr/libdata/perl5/site_perl
/usr/local/lib/perl5/site_perl
Just to test, I downloaded the source for BerkeleyDB-0.25 and ran into the same testing problem. BTW, this is all on local drives, and I have had several others who had built systems from scratch with the same problem. Any suggestions would be appreciated.
BTW, this is for my anti-spam directions here:
http://flakshack.com/anti-spam
With BerkeleyDB directions here:
http://flakshack.com/anti-spam/wiki/index.php?page=Installing+BerkeleyDB