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

Installation Problem



Hiya,

Just trying to do the install for the first time and configure is failing
to find my Berkeley DB installation.

I am running on Solaris 2.6 trying to install Open LDAP version 1.2.11 with
BDB 3.1

My build scripts is:

#!/bin/sh
env CFLAGS=-I/usr/local/BerkeleyDB.3.1/include \
        LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib \
        ac_cv_func_pthread_create=no \
        ol_cv_kthread_flag=no \
        ./configure

and the final portion of the configure output is:

checking if pthread_create() works... yes
checking if select yields when using pthreads... yes
checking for thread specific errno... yes
checking for DB2 library... checking for db_open in -ldb... no
no
checking for db.h... no
checking for Berkeley DB2... no
checking for Berkeley DB library... checking for dbopen... no
checking for dbopen in -ldb1... no
checking for dbopen in -ldb... no
no
checking for db_185.h... no
checking for Berkeley DB... no
checking for GDBM library... checking for gdbm_open... no
checking for gdbm_open in -lgdbm... no
no
checking for gdbm.h... no
checking for db... no
checking for MDBM library... checking for mdbm_set_chain... no
checking for mdbm_set_chain in -lmdbm... no
no
checking for mdbm.h... no
checking for db... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable

Any pointers gratefully recieved.

Cheers,
Andy