[Samba] Compiling Samba 3.0.7 on FreeBSD 5.2.1

Denis Vlasenko vda at port.imtp.ilyichevsk.odessa.ua
Wed Nov 3 06:56:15 GMT 2004

On Wednesday 03 November 2004 04:44, Matt Schwartz wrote:
> I am desperately seeking help.  I get an error related to not being able to
> find ldap.h when I know that it is there.  It is located in my
> /usr/local/include directory.  I have built and installed openldap from the
> source.  When I use ./configure -with-readline=/usr/local, I get an error
> that libldap cannot be found.  How do I compile from the source on samba
> 3.0.7?  What mandatory pre-reqs are there?

readline and ldan have nothing in common.

Try CFLAGS="-I/usr/local/include"

Also, configure --help says: "--with-ldap LDAP support (default yes)"
and I'd try --with-ldap=/usr/local, maybe help is not complete.

More information about the samba mailing list