From owner-freebsd-questions Tue Nov 9 20: 9:19 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 C6F23150A9 for ; Tue, 9 Nov 1999 20:09:15 -0800 (PST) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 16684 invoked from network); 9 Nov 1999 23:25:41 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.120.222) by cask.force9.net with SMTP; 9 Nov 1999 23:25:41 -0000 Message-ID: <3828AD73.5F6989BE@sinclairassoc.force9.co.uk> Date: Tue, 09 Nov 1999 23:25:39 +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: nsayer@freebsd.org Cc: freebsd-questions Subject: Re: Installing GDBM_File (was: Location of GDBM_File in FreeBSD 3.2_Release) References: <38284AF0.8DA6F7E1@quack.kfu.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Nick, Unfortunately, I'm way out of my depth over this one and yes - I'm the guy having all the problems with GDBM. I have a suggestion from Nick Rust: > I had this same problem with maildrop trying to find gdbm files. I > had to make symlinks in /usr for the "missing" files for it to work. > No matter what I did, the compile would fail when trying to find > lgdbm. Env variables, compile-time flags, etc etc. But Sheldon Hearn suggested this was less than ideal for a solution. Nick has since confirmed that adding symlinks was the only way he got it to work. I'm afraid I cannot follow all the implications of what you suggest, except that it should make matters more consistent in the future. Meanwhile... Is there something I can do here and now to get GDBM to install correctly and cleanly? Do I just need to add INC => '-I/usr/local/include', in Makefile.PL? If so, where exactly in the order of things? If you are able to reply, please take it one step at a time - I'm still learning! Kind regards, Ric Nick Sayer wrote: > > [ Adding -committers because it suggests a course of action. This is > from -questions. > Someone was trying to make the GDBM_File module for perl and running > into difficulty. > I have a fix that will make the normal procedure work correctly given > where the gdbm port > gets installed, and suggest adding a port to automate adding the > GDBM_File module. ] > > Adding > > INC => '-I/usr/local/include', > > to /usr/src/contrib/perl5/ext/GDBM_File/Makefile.PL > > then running 'perl Makefile.PL' and make appears to work for me. > > I propose patching this in the -current and RELENG_3 branches > and making a p5-GDBM_File port that does some magic trickery > to run this and actually install it under > /usr/local/lib/perl5/site_perl, > like all the other perl module ports. Anyone object strenuously to this? > > 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