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

ldap with BerkeleyDB3.1



I am installing ldap v2.0.6 with berkeleydb3.1 but when i try to configure it

./configure

i get the following error:

Configuring OpenLDAP 2.0.6-Release ...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gnutar... no
checking for gtar... gtar
checking configure arguments... done
checking for cc... cc
checking for ranlib... ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc  -I/usr/local/BerkeleyDB.3.1/include -L/usr/local/BerkeleyDB.3.1/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


i have exported the required env variables , what is the problem?
please help.