GDBM_File
- From: "hoco" <hoco@xxxxxxxxxxxx>
- Date: 9 Jan 2007 20:41:37 -0800
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.
.
- Follow-Ups:
- Re: GDBM_File
- From: hoco
- Re: GDBM_File
- Prev by Date: Re: Empty $r in mod_perl
- Next by Date: Uninstalling Perl modules
- Previous by thread: Empty $r in mod_perl
- Next by thread: Re: GDBM_File
- Index(es):
Relevant Pages
|
|