[Samba] Samba 3 still doesn't work - build errors (details)

Ron Gage ron at rongage.org
Fri Nov 7 01:04:18 GMT 2003


Ok, this is simply getting annoying now.

First, with Slackware 9, I could build Samba 3, could join a domain, but nobody
in the domain could use the Samba machine, or browse the shares on it, or log
into it.

Just for grins, I decided to build a whole new machine and try with the latest
Slackware (9.1) to see if I could fare any better.  No go....

I can't even get Samba 3 to build.

Besides spewing a ton of warnings about "/usr/include/compat.h:6:2: warning:
#warning "This header is obsolete, use ap_compat.h instead", it died when
building the smbd server.

linking bin/smbd
/usr/lib/libkrb5.a(cc_file.o)(.text+0x1d90): In function
`krb5_fcc_generate_new':
/root/samba/krb5-1.3.1/src/lib/krb5/ccache/cc_file.c:2063: warning: the use of
`mktemp' is dangerous, better use `mkstemp'
tdb/tdbutil.o(.text+0x103a): In function `tdb_search_keys':
tdb/tdbutil.c:791: undefined reference to `ap_fnmatch'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

This build attempt used the latest (downloaded tonight) stable releases of
MIT-krb5, OpenLDAP, and Samba.  Here is how I configured each module:

MIT-krb5:
./configure --prefix=/usr

OpenLDAP:
./configure --prefix=/usr --sysconfdir=/etc/ldap --disable-debug --disable-ipv6
--with-kerberos --with-threads --enable-null --disable-bdb

Samba:
./configure --prefix=/usr --sysconfdir=/etc/samba
--with-privatedir=/etc/samba/p
rivate --with-ldap --with-ads --with-smbmount --without-sys-quotas

Kerberos was build first, then OpenLDAP, then Samba.

What am I doing wrong here?  HELP!!


-- 
Ronald R. Gage
MCP, LPIC1, A+, Net+
Pontiac, Michigan





----------------------------------------------------------------
This message was sent using webmail provided by www.rongage.org



More information about the samba mailing list