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

RE: installation problems



Sam,
	What other software did you install to get OpenLDAP installed on the
system.  Here are the steps and software and version of everything I have
done.

OpenSSL (0.9.8)
---------------------------
./config shared zlib-dynamic
make
make test
make install

Berkeley DB (4.2.52.4)
---------------------------
patch -i patch.4.2.52.x
cd build_unix
../dist/configure
make
make install

Cyrus SASL (2.1.21)
---------------------------
./configure --with-openssl=/usr/local/ssl
make
make install
ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

OpenLDAP (2.2.26)
---------------------------
env
LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/sasl2:/usr/local/BerkeleyDB.4
.2/lib:/usr/local/ssl/lib" LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -R/usr/local/lib
-R/usr/local/lib/sasl2 -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib"
CPPFLAGS="-I/usr/local/include -I/usr/local/include/sasl
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include" ./configure
--enable-bdb --with-cyrus-sasl --enable-spasswd --enable-slurpd --with-tls
--disable-cleartext


Thanks,

Dave Henderson

MCP, MCSA, MCSE, A+
Distributed Computer Systems Analyst
Florida Department of Corrections
Phone: 407.207.7391            Suncom: 343.7391
 
 

-----Original Message-----
From: Samuel Tran [mailto:stran@amnh.org] 
Sent: Tuesday, October 18, 2005 10:10 AM
To: Henderson, David
Cc: openldap-software@OpenLDAP.org
Subject: RE: installation problems

On Tue, 2005-10-18 at 09:50 -0400, Henderson.David@mail.dc.state.fl.us
wrote:
> Gary,
>      I am compiling the software on Debian 3.1 (Sarge).  This is the
> latest
> release of the distro's GNU/Linux.  Is there anything that I can look
> into
> to see what the problem is?

David,

I built OL 2.2.26 and OL 2.3.11 on Debian Woody and Sarge without any
problem.

As for OpenSSL I used the exact same steps as you did.
Then before building OpenLDAP I set these environment variables:

$ export CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/ssl/include"
$ export LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib"

Here are the steps I use to build OL 2.2.26:

$ ./configure	--prefix=/usr/local --sysconfdir=/etc \
                --enable-bdb \
                --enable-aci --enable-crypt \
                --enable-slapd \
                --enable-spasswd \
                --enable-rlookups \
                --enable-wrappers \
                --enable-dynamic \
                --enable-dyngroup \
                --enable-slurpd \
                --with-cyrus-sasl \
                --with-tls
                
$ make depend
$ make
$ make test
# make install

Hope this helps.

Sam