Ron Gage
2003-Nov-07 01:04 UTC
[Samba] Samba 3 still doesn't work - build errors (details)
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
Gerald (Jerry) Carter
2003-Nov-07 03:51 UTC
[Samba] Samba 3 still doesn't work - build errors (details)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ron Gage wrote: | 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. This has been fixed in CVS. Remove the #include <compat.h> line from includes.h | 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' This is a MIT krb5 warning, not ours. | 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 will be corrected by removing the header include. cheers, jerry - -- ~ ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/qxa+IR7qMdg1EfYRAh++AKCsLodGTj6ifn75oo7EImJW8UdcxQCcCTgK hVmTPvkkAXYGs/fRkJwPRCM=cdyS -----END PGP SIGNATURE-----