*BSD News Article 59723


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!news.kei.com!ub!dsinc!netnews.upenn.edu!psci.sas.upenn.edu!awhite
From: awhite@psci.sas.upenn.edu (Andrew White)
Newsgroups: comp.lang.perl.misc,comp.unix.bsd.bsdi.misc
Subject: DBM Problems with Perl 5.001/BSDI 2.01
Date: 16 Jan 1996 06:17:46 GMT
Organization: DCANet http://www.dca.net
Lines: 29
Message-ID: <4dffua$g7l@netnews.upenn.edu>
NNTP-Posting-Host: psci.sas.upenn.edu
Summary: perl5 failes dbm test suite under bsdi 2.01
Xref: euryale.cc.adfa.oz.au comp.lang.perl.misc:13234 comp.unix.bsd.bsdi.misc:2127

Oh gurus of (G/N)DBM, Perl5, and BSDI BSD/OS 2.01:

SUMMARY: Perl5.001 dumps core on DBM/GDBM/NDBM file operations
         under BSDI BSD/OS 2.01, help!

I was unable to find an answer to this problem in the searchable BSDI user's
mailing list archive at http://www.nexial.nl/cgi-bin/bsdi, so I hope some 
kind soul out there has a solution he/she is willing to share.

When compiling the Perl5.001 distribution 
(ftp://prep.ai.mit.edu/pub/gnu/perl5.001.tar.gz) under BSDI BSD/OS 2.01,
"make test" always results in these failures:

lib/anydbm.....FAILED on test 0
lib/gdbm.......FAILED on test 0
lib/ndbm.......FAILED on test 0

Furthermore, when I use tie to bind a variable to the NDBM_File or 
GDBM_File packages, accessing variables in the database
(eg, $Foo::SessionDBM{$key}), I get a core dump (segmentation
violation) from Perl 5.

Oddly, none of these problems happen on my FreeBSD 2.0-R box, but
it's very necessary for me to get this working under BSD/OS.

Any tips, pointers, ideas, fixes, et al. would be greatly appreciated.

-andrew.