|
Posted by John Evans on April 12, 2005, 12:14 pm
Please log in for more thread options
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?
Thank you.
--
John Evans
|
|
Posted by Mark Clements on April 21, 2005, 11:23 pm
Please log in for more thread options
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
|
| Similar Threads | Posted | | only want to install one module and the depended ones, but CPAN always install the whole Perl. | September 14, 2007, 5:23 pm |
| Can not Install XML::Parser | September 29, 2004, 5:26 pm |
| How to install PDL::Slatec | October 1, 2004, 2:00 pm |
| GD.pm install woes | October 29, 2004, 3:50 pm |
| How do I install this package using ppm? | September 28, 2005, 2:44 pm |
| Can't install Unicode::Map | February 12, 2005, 7:54 am |
| How can I install the DBI on Solaris | February 24, 2005, 4:16 pm |
| Messed up install | November 11, 2005, 10:39 pm |
| install whole CPAN ? | April 19, 2006, 10:39 am |
| CGI::EncryptForm - PPM Install | February 11, 2008, 11:32 am |
|