[Samba] 3.0.11 - configure can't see ldap.h
samba at phivegills.com
Mon Feb 7 20:39:04 GMT 2005
Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Mike wrote:
> | Gerald (Jerry) Carter wrote:
> |> Did you export the CPPFLAGS and LDFLAGS variables before
> |> running configure ?
> | Yes I did but it still fails though in a different way. I broke your
> | compile script down to a simple form and this is what I found to be the
> | cause. If I set & export CPPFLAGS, configure will fail with this:
> | # CPPFLAGS="/usr/src/openldap-2.2.23/include"
> should be
Bah, I missed that. Ok, that is corrected, but now it is back to the
original problem of 'configure' not being able to see the ldap.h file.
Here is the entire script:
## compiler and flags
## required library paths
for dir in $DIRPATH ; do
export CPPFLAGS CFLAGS LDFLAGS CC
## configure && build
./configure --with-ldap \
if [ $? -ne 0 ]; then
echo "configure failed. Exiting...."
Thank you for the time you're spending on this.
More information about the samba