GDBM_File



I've compiled perl 5.8.8 on my OS X machine (10.4.8) both by hand and
then I tried it using cpan. It says that it comes with GDBM_File, but
this appears not to be the case. When I try "use GDBM_File" I get this
error:

Can't locate loadable object for module GDBM_File in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/darwin-2level
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/Library/WebServer/Documents/snapsite/site2.2/cgi
/Library/WebServer/Documents/snapsite/site2.2/site
/Library/WebServer/Documents/snapsite/site2.2/cc/lib / /) at
/Library/WebServer/Documents/snapsite/site2.2/cgi/sellweb-dbm.pl line
12

I do find that there is a GDBM_File.pm out there, but there doesn't
seem to be anything compiled for it.

On a sun box I have with GDBM installed, there is both a GDBM_File.pm
and elsewhere a GDBM_File.so (a shared object file). In other words,
there is a compiled version of GDBM_File which gets dynamically loaded.

I tried using cpan to "force make GDBM_File" and, alas, cpan rebuilds
perl from scratch. And, I still can't "use GDBM_File". I couldn't
believe that "force make GDBM_File" actually rebuilt perl, so I did it
again, and it happily deleted perl and rebuiilt it. But, no joy. No
GDBM_File.

I went to search.cpan.org and found GDBM_File, but there is no way to
download it. The download link is simply the link for perl.5.8.8.

I have already built the libraries for gdbm. I have a
/usr/local/lib/libgdbm.a and a libgdbm.dylib and a libgdbm.la. I have
gdbm on my machine, and I noticed that the compilation process for perl
did find the gdbm library. It seemed happy. But, no joy.

Can anyone give me any ideas of what might be going wrong? If it is
built-in, why isn't it getting built, and if it isn't built in, where
can I get it so I can compile and install it manually? Thanks for any
help you can offer.

.



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)
  • Re: RXParse module (by robic0), Version 0.1000
    ... r> Perhaps you could code the anti-robic0 module and post it to cpan. ... if you were more sociable and actually learned perl better and got along ... is going at a constant velocity, the there mind pushes up things you can't believe. ... The foul lang comes from the conciouness trying to protect my self. ...
    (comp.lang.perl.misc)
  • Re: RXParse module (by robic0), Version 0.1000
    ... r> Perhaps you could code the anti-robic0 module and post it to cpan. ... common with trolls. ... if you were more sociable and actually learned perl better and got along ... My life is not the normal mind kind of life you would ...
    (comp.lang.perl.misc)
  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)
  • RE: Installing DBD::File via CPAN
    ... Subject: Installing DBD::File via CPAN ... This is Perl 5.8.7 ... ReadLine support available (try 'install Bundle::CPAN') ...
    (perl.dbi.users)