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

回复: Cannot compile with LDBM support



Title: Cannot compile with LDBM support
hi:
    you can install the BerDB in system default directory , just to test ?
 
                                          lucky :P) by China, X.D.Chen
-----Original Message-----
发件人: Srinivas_Arella <Srinivas_Arella@satyam.com>
收件人: 'OpenLDAP-software@OpenLDAP.org' <OpenLDAP-software@OpenLDAP.org>
日期: 2001年4月13日 2:09
主题: Cannot compile with LDBM support

     Hi,

    When I'm compiling LDAP on intel solaris with this command:

    env CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include -I/usr1/sri/m/tcp_wrappers_7.6" LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib" \

    ./configure --enable-dns --enable-wrappers --enable-passwd --enable-shell --enable-ldbm --with-ldbm-type=btree

    I get error saying:

    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
    configure: warning: Could not find LDBM with BTREE support
    configure: warning: could not find suitable LDBM backend
    configure: error: select appropriate LDBM options or disable

    Can anyone pls help in compiling this. I already have autoconf and BerkelyDB installed.