[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Configure failing on FreeBSD 4.6..



Seemed to get a little closer.. here's the line I used to configure:

env
CPPFLAGS="-I/usr/local/include/sasl -I/usr/include/gdbm -I/usr/local/Berkele
yDB.4.0/include" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib/sasl2" ./configure

One note.. I installed gdbm from the freebsd ports collection, but there is
no /usr/include/gdbm directory.


So, the configure output:

checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb-2)... no
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
configure: error: BDB: BerkeleyDB not available


am I missing some other enviroment variable I need?  Not sure why it's still
not finding Berkeley, and if it has anything to do with my gdbm install or
not.. should I install that from source instead?

Thanks,
Chad

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Tony Earnshaw
Sent: Tuesday, July 23, 2002 4:10 PM
To: Chad Day
Cc: openldap-software@OpenLDAP.org
Subject: Re: Configure failing on FreeBSD 4.6..


tir, 2002-07-23 kl. 20:08 skrev Chad Day:

> I downloaded and installed Berkeley DB 4.0.14 from Sleepycat.  It resides
in
> /usr/local/BerkeleyDB.4.0

First make sure you have installed Cyrus SASL :)

Not only that, make sure that the db.h is the right one, it hasn't been for
101 others on this list, this month ...

CPPFLAGS="-I/usr/local/include/sasl -I/usr/include/gdbm
-I/usr/local/BerkeleyDB.4.0/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib/sasl2"
./configure

Best,

Tony

--

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981