[Samba] 3.0.11 - configure can't see ldap.h

Gerald (Jerry) Carter jerry at samba.org
Sat Feb 5 03:31:54 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike wrote:
| My server is running OpenBSD 3.6.  I wish to join this machine to a
| Windows 2003 AD domain so Windows clients can copy files to and from it
| for FTP use.
|
| I have untar'd the following files to /usr/src:
|
|   openldap-stable-20050125.tgz
|   samba-3.0.11.tar.gz
|
| When running configure it stops with this error:
|
| checking for LDAP support... yes
| checking ldap.h usability... no
| checking ldap.h presence... no
| checking for ldap.h... no
| checking lber.h usability... no
| checking lber.h presence... no
| checking for lber.h... no
| configure: error: ldap.h is needed for LDAP support
|
| These are my configure options:
| ./configure \
| --with-ldap \
| --with-ads \
| --includedir=/usr/src/openldap-2.2.23/ \
| --with-krb5=/etc/kerberosV

I don;t think the includedir works. Just a hunch.
Use

CPPFLAGS="-I/usr/src/openldap-2.2.23/include"
LDFLAGS="-L/usr/src/openldap-2.2.23/lib"





cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCBD4qIR7qMdg1EfYRArL7AJ9QZfsCIXoLyJDNKwVNgtUt4u7EEgCgx02S
1YOuw7PzS52Ivg50e9v8E+U=
=FrRD
-----END PGP SIGNATURE-----


More information about the samba mailing list