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

Problem in configuring on Solaris



 
I am installing openldap-1.2.11 on solaris. It was giving the following problem
 
checking for DB2 library... checking for db_open in -ldb... no
no
checking for db.h... no
checking if db.h is DB2... 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
 
I tried this
 env CPPFLAGS="-I/usr/local/BerkeleyDB.3.1/include"\
 LDFLAGS="-L/usr/local/BerkeleyDB.3.1/lib" ./configure --prefix=/usr/local/apache/sites/amsoft.spinweb.net/openldap-1.2.11/ldap --enable-debug=yes --enable-shared=yes --enable-ldbm --with-threads
then it was able to find db.h but ultimately givong the same error.
checking for DB2 library... checking for db_open in -ldb... no
no
checking for db.h... yes
checking if db.h is DB2... 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... yes
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
 
The BerkeleyDB i am using is 3.1.14. Is there problem with LDAP version.
 
can anyone give me a solution. This is a sort of urgent requirement.
Thanks in advance.
 
Sharath.K
 
 
 
 
 
 
 
*********************************************************************************************************************************************************
                                                     I can do all things through Jesus Christ who strengthens me.
                                                                                                                                 (Holy Bible)
                                                                                                                                   Phil 4:13
********************************************************************************************************************************************************