From owner-freebsd-questions Mon Nov 8 1:18:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (Postfix) with SMTP id 51FF814F10 for ; Mon, 8 Nov 1999 01:18:40 -0800 (PST) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 27058 invoked from network); 8 Nov 1999 09:18:38 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.123.110) by cask.force9.net with SMTP; 8 Nov 1999 09:18:38 -0000 Message-ID: <3826956B.6BC32F0@sinclairassoc.force9.co.uk> Date: Mon, 08 Nov 1999 09:18:35 +0000 From: Richard Morte X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en-GB,en-US,en MIME-Version: 1.0 To: freebsd-questions Subject: Installing GDBM_File (was: Location of GDBM_File in FreeBSD 3.2_Release) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ... ... 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