Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 1999 23:25:39 +0000
From:      Richard Morte <ric@sinclairassoc.force9.co.uk>
To:        nsayer@freebsd.org
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Installing GDBM_File (was: Location of GDBM_File in FreeBSD  3.2_Release)
Message-ID:  <3828AD73.5F6989BE@sinclairassoc.force9.co.uk>
References:  <38284AF0.8DA6F7E1@quack.kfu.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3828AD73.5F6989BE>