Bug 3246 - configure fails with ldap.h is needed for LDAP support
configure fails with ldap.h is needed for LDAP support
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-11-07 15:09 UTC by Ron Kasica
Modified: 2005-11-08 10:43 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ron Kasica 2005-11-07 15:09:42 UTC
I'm trying to install samba version 3.0.20b on AIX version 5.2 ML 1 and I 
receive the following error message when running:  

configure --with-ads --with-ldap

checking whether to use DFS clear-text auth... no
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
You have mail in /usr/spool/mail/root

I have installed the ldap fileset from my aix media and the ldap.h file does 
exist in /usr/ldap/include
Comment 1 Ron Kasica 2005-11-08 10:43:57 UTC
I have resolved this problem by using CPPFLAGS.

CPPFLAGS="-I/usr/ldap/include" ./configure --with-ads --with-ldap