zipdy.pl and gdbm

zipdy.pl and gdbm

am 22.09.2004 17:42:58 von Marshall Dudley

I am trying to install zipdy.pl and having problems.

I downloaded and installed gdbm-1.8.3 as instructed in the installation
instructions for zipdy. It installed 3 files and a link in my
/usr/local/lib
directory:

libgdbm.a
libgdbm.l
libgdbm.so -> libgdbm.so.3
libgdbm.so.3

When I tried executing the zipdy.pl file it failed on loading the GDDM
module. The zipdy instructions said to change that line to where the
gdbm database program is, so I tried using all of the above paths and
files, but in every case it gives me a compile error. This does not
seem right, but that is what the instructions say to do.

perl -c zipdy.pl
syntax error at zipdy.pl line 32, near "use /usr/"
zipdy.pl had compilation errors.

lines 32 and 33:
use /usr/local/lib/libgdbm.a;
use Math::Trig;

Can anyone give me a hint as to what I need to put on line 32 of the .pl
source code to get it to run? I would expect it to be something like
use "GDBM;" but that fails as well and I can find no hint of what this
should be in the instructions.

thanks,

Marshall

Re: zipdy.pl and gdbm

am 22.09.2004 20:03:35 von Marshall Dudley

I figured out that the documentation is wrong, and that what was there
originally was correct: "use GDBM_File". I have downloaded that .pm file,
but it gives me compilation errors with a command (our) that perl does not
recognize. I have taken this issue to the comp.lang.perl.modules group now.

Marshall

Marshall Dudley wrote:

> I am trying to install zipdy.pl and having problems.
>
> I downloaded and installed gdbm-1.8.3 as instructed in the installation
> instructions for zipdy. It installed 3 files and a link in my
> /usr/local/lib
> directory:
>
> libgdbm.a
> libgdbm.l
> libgdbm.so -> libgdbm.so.3
> libgdbm.so.3
>
> When I tried executing the zipdy.pl file it failed on loading the GDDM
> module. The zipdy instructions said to change that line to where the
> gdbm database program is, so I tried using all of the above paths and
> files, but in every case it gives me a compile error. This does not
> seem right, but that is what the instructions say to do.
>
> perl -c zipdy.pl
> syntax error at zipdy.pl line 32, near "use /usr/"
> zipdy.pl had compilation errors.
>
> lines 32 and 33:
> use /usr/local/lib/libgdbm.a;
> use Math::Trig;
>
> Can anyone give me a hint as to what I need to put on line 32 of the .pl
> source code to get it to run? I would expect it to be something like
> use "GDBM;" but that fails as well and I can find no hint of what this
> should be in the instructions.
>
> thanks,
>
> Marshall