On Wed, 10 Apr 2002, Steven Doyle wrote:

> trying to port a solaris deployed "web solution" to X, having "issues"
> with the lack of the gdbm_file module, cant seem to find a SIMPLE way of
> just adding this module to the 10.1.3 install of perl..is there an
> idiots guide somewhere or can u spend 5 secs talking me thru it...i have
> beer as a bribe!!!

(Answering just because no one else has piped up on this yet...)

My understanding is that the various *dbm versions are pretty much system
dependant, with DBM itself being built in when Perl is compiled, based on
whatever DB libraries are available on the system at compile time. Once a
module gets moved into the core Perl library, it isn't always easy to do
upgrades on those components. Unfortunately, that seems to apply here.

If that's the case -- hopefully someone will correct me if I'm wrong --
then your best solution might be to grab & build a copy of GDBM, which you
can get either from http://www.gnu.org/directory/gdbm.html or, if you have
Fink, by running "fink install gdbm". Then, build Perl 5.6.1 based on Bob
Dalgleish's hints at http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html.
Hopefully, it will find and install the correct gdbm_file library for you
as it configures & builds.

Alternatively, maybe the script[s] can be rewritten to use a different DBM
variant. It looks like by default you should have a couple available:

  /System/Library/Perl/darwin/auto/NDBM_File
  /System/Library/Perl/darwin/auto/sdbm
  /System/Library/Perl/darwin/auto/SDBM_File

....and maybe others in /Library/Perl, depending on what you've installed.



--
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

"More war soon. You know how it is."    -- mnftiu.cc

Reply via email to