[Samba] Compiling Samba 3.0.6 on FreeBSD 5.2.1

Tom Skeren tms3 at fskklaw.com
Tue Aug 24 15:16:51 GMT 2004


Yeah I had similar headaches.  First do a fressh install if feasable.  
If not then try to get rid of MIT Kerberos.  Heimdal is default in 
FreeBSD and works well, just needs a bit of tweaking that MIT doesn't.

My configure for ads looks like this

>./configure --exec-prefix=/usr/local --localstatedir=/var --with-configdir=/usr/local/etc --with-libdir=/usr/local/lib/samba --with-piddir=/var/run --with-lockdir=/var/db/samba --with-privatedir=/usr/local/private --with-logfilebase=/var/log/samba --with-manpages-langs=en --with-libiconv=/usr/local --with-pam --with-readline --with-sendfile-support --with-libsmbclient --without-python --disable-cups --without-syslog --without-quotas --with-winbind --with-ldapsam --without-pam_smbpass --with-ads --with-krb5 --with-ldap --prefix=/usr/local i386-portbld-freebsd5.2.1
>  
>
If that still doesn't work, try this little trick.  Use the samba-devel 
port.  Do a make, then make depends.  Then go to 3.0.6 source and 
configure, make, make install. 

Holger Wesser wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> since yesterday the compiling of samba drives me mad.
> I'm running FreeBSD 5.2.1, installed OpenLDAP client/server and KRB5.
> Afterwards I got the sources for the 3.0.6-release, unpacked them and
> tried to configure like:
>
> ./configure --includedir=/usr/local/include/
> - --with-libiconv=/usr/local/lib --with-pam --with-readline
> - --with-sendfile-support --without-libsmbclient --without-python
> - --disable-cups --with-syslog --with-quotas --with-msdfs
> - --with-acl-support --with-ldap --with-ads=/usr/local/lib
>
> Unfortunately the configure script aborts:
>
> "configure: error: ldap.h is needed for LDAP support".
>
> I just don't know what's wrong. The header file is correctly installed
> under "/usr/local/include", but for the system it doesn't matter.
>
> Has anybody an idea?
>
> Greetings
> Holger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFBKzPwO0QDuZMdP0sRAuBOAJ9p/Agpt71X3ucm+YZ2NGcBFLUwtACfUPee
> Cng6M7iTC7BWM166Dw4Jv2o=
> =DPf/
> -----END PGP SIGNATURE-----






More information about the samba mailing list