For whatever reason, the Makefiles that are generated don't tell gcc to look in /usr/local/include for header files. You don't need --libdir=/usr/local/lib and --includedir=/usr/local/include. I believe that those just tell where you want the libraries and header files installed when everything is said and done, not where to look while compiling.

You just need to (assuming you're using bash):

export CPPFLAGS='-I/usr/local/include -L/usr/local/lib'

before you run configure. If you are using a cshell (by the c shore? bad joke, nevermind):

setenv CPPFLAGS '-I/usr/local/include -L/usr/local/lib'

I think.

mark

ps I think you can also use:

CPPFLAGS='-I/usr/local/include -L/usr/local/lib' ./configure --with-ldapsam

mark
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to