Bug 3246 - configure fails with ldap.h is needed for LDAP support
Summary: configure fails with ldap.h is needed for LDAP support
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20b
Hardware: PA-RISC AIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-07 15:09 UTC by Ron Kasica
Modified: 2005-11-08 10:43 UTC (History)
0 users

See Also:


Attachments

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