On 12/17/2010 12:56 PM, Stefano Malini wrote:
i'm sorry, what do i have to write and where?
If you type ./configure -h, it should show you a list of all the parameters and options you can feed configure with. Take a look at what is shown under "Some influential environment variables."
FYI, this is how I compiled openldap in my Solaris10 box (i.e. DO NOT try to copy it blindly but look at is as an example of what Quanah was trying to say):
[raub@auth:~/todo] $ cat break_stuff #! /bin/bash
BDBDIR=/usr/local/BerkeleyDB.4.7 ; export BDBDIR
LD_LIBRARY_PATH=${BDBDIR}/lib \ CPPFLAGS="-I${BDBDIR}/include/ -I/usr/local/include -I/usr/local/ssl/include \ -I/usr/sfw/include" \ LDFLAGS="-L${BDBDIR}/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/sfw/lib \ -R${BDBDIR}/lib -R/usr/local/lib -R/usr/local/ssl/lib -R/usr/sfw/lib" \ ./configure --with-tls=openssl --with-wrappers \ --enable-overlays --enable-crypt --enable-modules --enable-monitor \ --enable-syslog --enable-proctitle
[raub@auth:~/todo] $
Il giorno gio, 16/12/2010 alle 13.46 -0800, Quanah Gibson-Mount ha scritto:
--On Wednesday, December 15, 2010 12:35 PM +0100 Stefano Malini stefano.malini@gmail.com wrote:
Dear all,
i'm installing OpenLdap 2.4.23 on a virtual box with linux ubuntu 2.4.31-14 in /usr/local/.
I first succesfully installed Berkeley DB 4.8.26 always in /usr/local/
My problem is launching ./configure command from OpenLDAP directory.
The last lines are:
checking db.h usability... no checking db.h presence... no checking for db.h... no configure: error: BDB/HDB: BerkeleyDB not available
Could you help me, please?
Set your LDFLAGS and CPPFLAGS appropriately for your BDB installation.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc.
Zimbra :: the leader in open source messaging and collaboration