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

Re: Configure failing on FreeBSD 4.6..



Hi,

Chad Day wrote:
> 
> 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" \
                   ^
Is it on two lines ^ or on one ?
CPPFLAGS and LDFLAGS must be on different lines ...

> 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

greets Harry