[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Help needed to install openLDAP
How did your schema files come to be corrupted? The sysconfdir option you
supplied should have resulted in an /etc/openldap directory, with a schema
subdirectory, being created.
As for SASL, SSL, and BDB 4.2, the results of "./configure --help" show the
way. All are automatically configured if the appropriate software exists
on your system, though you may need to set CPPFLAGS and LDFLAGS for correct
resolution by the linker. I create build scripts around my packages so the
configuration can be recreated:
lauterbur{6}# more build-it.sh
#!/bin/sh
## BDB was built with prefix=/usr/local, so no FLAGS are needed.
env CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/include" \
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib \
-R/usr/local/ssl/lib -R/usr/local/lib" \
./configure --disable-cleartext --enable-crypt --with-tls
lauterbur{7}#
Note that, by default, Berkeley installs itself to
/usr/local/BerkeleyDB.4.2 for some reason. The path of least resistance is
to configure the BDB install with --prefix=/usr/local:
lauterbur{13}# more /root/newpkgs/db-4.2.52/build_unix/build-it.sh
#!/bin/sh
env LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \
../dist/configure --with-pam --prefix=/usr/local
lauterbur{14}#
Cheers,
Chuck
At 07:37 AM 5/12/2005, sudhi ndra wrote:
Hello,
I am newbie installing openLDAP-2.2.24(using
SOURCE) in Redhat 9 and while installing i used
"--sysconfdir=/etc" along with "./configure" so my
schema files got corrupted and so next time when
configuring i just used "./configure" then all my
files where in "/usr/local/etc/openldap".
I want my configuration files in /etc....? so what
may be my options to be used along with "./configure"
and to enable SASL,SSL and Berkeley DB 4.2.
Thanks in advance.
Regards,
Sudhindra L A
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345