[comp.lang.perl] perl w/GNU gdbm?

les@chinet.chi.il.us (Leslie Mikesell) (08/18/90)

Has anyone built perl with the GNU dbm package?  Any problems?

Also, under AT&T '386 unix (3.2.1) I'm getting core dumps when I use
the 'c' command with the debugging package, even though all the
tests succeed with no complaints. 

Les Mikesell
  les@chinet.chi.il.us

gaspar@STL-08SIMA.ARMY.MIL (Al Gaspar) (08/20/90)

| Has anyone built perl with the GNU dbm package?  Any problems?

Yes.  No.  I tried it first with patchlevel 18 and everything seemed
to be ok.  I am trying it again with patchlevel 28.  It doesn't look
like it is going to be a problem, but I'll have to get past my dirent.h
problem to be sure.  I'm on a Unisys 5000/95 running SysVr3.

Cheers--

Al

-- 
Al Gaspar	<gaspar@stl-08sima.army.mil>
USAMC SIMA, ATTN:  AMXSI-TTC, Box 1578, St. Louis, MO  63188-1578
COMMERCIAL:  (314) 331-4354	AUTOVON:  555-4354
uunet.uu.net!stl-08sima.army.mil!gaspar

gaspar@STL-08SIMA.ARMY.MIL (Al Gaspar) (08/22/90)

Some further information on using gdbm with perl.  Gdbm requires
alloca, which on my system (Unisys 5000/95 running SVR3) is available
in the libPW.a library.  Unfortunately this also defined fatal, which
conflicted with fatal in util.o of perl.  I finally took a public
domain version of alloca (Doug Gwynn's), changed its internal fatal()
to be fatal_x(), and added it directly to libgdbm.a.  All ten of the
dbm tests in op.dbm run ok.

Cheers--

Al

-- 
Al Gaspar	<gaspar@stl-08sima.army.mil>
USAMC SIMA, ATTN:  AMXSI-TTC, Box 1578, St. Louis, MO  63188-1578
COMMERCIAL:  (314) 331-4354	AUTOVON:  555-4354
uunet.uu.net!stl-08sima.army.mil!gaspar