Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 1999 09:18:35 +0000
From:      Richard Morte <ric@sinclairassoc.force9.co.uk>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Installing GDBM_File (was: Location of GDBM_File in FreeBSD 3.2_Release)
Message-ID:  <3826956B.6BC32F0@sinclairassoc.force9.co.uk>

next in thread | raw e-mail | index | archive | help
OK, tried a bit more self-help this morning - but came unglued :(

I read up on various documents for installing perl modules. Here's what
I did & what I got:

$ cd /usr/src/contrib/perl5/ext/GDBM_File
$ perl Makefile.PL
Note (probably harmless): No library found for -lgdbm
Note (probably harmless): No library found for -ldbm
Writing Makefile for GDBM_File

$make
mkdir blib
mkdir blib/lib
cp GDBM_File.pm blib/lib/GDBM_File.pm
Autosplitting ...<snip>
...</snip>
GDBM_File.xs:5: gdbm.h: No such file or directory
*** Error Code 1

Stop.
$


Where to go / what to do next?

Ric

=========================original message below=========================

Richard Morte wrote:
> 
> Just a quickie!
> 
> I want to use GDBM_File in a perl script I'm developing. However I get
> the error message "Can't locate GDBM_File.pm in @INC (@INC contains
> ...[anything but the path I need].... etc.)
> 
> A search reveals the location of the following directory:
> /usr/src/contrib/perl5/ext/GDBM_File - which contains:
>   /usr/src/contrib/perl5/ext/GDBM_File/GDBM_File.pm
> 
> Do I simply copy it to a directory on one of the @INC paths, recompile
> something (surely not...) or do something else to set the value of @INC?
> 
> Thanks you for helping,
> 
> Ric
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3826956B.6BC32F0>