Re: GDBM Install



John Evans wrote:
Greetings,
	I have been given the job of porting Perl from 5.005 to 5.8.3
on a hpux platform. The Perl code uses GDBM in quite a few places, but
the depot that we installed 5.8.3 from did not include the
GDBM_File.pm perl module.

	I ported the code to use SDBM, but immediately discovered that
there are key/value pairs that exceed the 1008 byte limit that SDBM
has. I have considered NDBM and ODBM, but they both also have the 1008
byte limitation. It looks like we must use GDBM because it does not
have the 1008 byte limitation that the other three have.

	Because GDBM is included in the core Perl package now, I
cannot find it as a separate package that I can download and install.
We are hesitant to install Perl from source because the company
standard is to use depot files for all software installs on hpux.

	Has anyone out there installed GDBM_File.pm separately from
the core Perl package? If so, how did you go about doing this?

This doesn't answer your question, but is there a reason you couldn't use something else, eg DB_File or BerkeleyDB, both of which use
Berkeley DB as a file format, which as far as I know has no such size limitations?


regards,

Mark
.



Relevant Pages

  • Re: GDBM_File
    ... ownership of the gdbm files to bin with group bin. ... Then the make install worked for gdbm. ... perl from scratch. ... and I noticed that the compilation process for perl ...
    (comp.lang.perl.modules)
  • GDBM Install
    ... GDBM_File.pm perl module. ... It looks like we must use GDBM because it does not ... cannot find it as a separate package that I can download and install. ... standard is to use depot files for all software installs on hpux. ...
    (comp.lang.perl.modules)
  • GDBM and Perl 5.6.1
    ... We need GDBM support but it's not installed. ... I can't find a standalone module on CPAN - it only seems ... why my Perl 5.6.1 doesn't have GDBM and whether I can install it? ...
    (comp.lang.perl.misc)
  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)