[Samba] RPM build not honouring contents of SPEC file.
Gavin Davenport
gavdav at gavdav.demon.co.uk
Thu Oct 9 08:43:34 GMT 2003
Hi there
(redhat 7.1 OS, Samba 3.0.0, against 2003 ADS server)
I built the MIT kerberos libraries from
http://www.crypto-publish.org/dist/mit-kerberos5/krb5-1.3.1.tar.gz
using
./configure --prefix/usr/local/kerberos --exec-prefix=/usr/local/kerberos
I now have these in /usr/local/kerberos.
I set the--with-krb5 in the spec file:
--with-libsmbclient \
--with-krb5=/usr/local/kerberos \
--with-ads \
--with-ldap
then
[root at potato SPECS]# rpmbuild -bb samba3.spec
<snip>
+ '[' '!' -f configure ']'
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+
./configure --prefix=/usr --localstatedir=/var --with-configdir=/etc/samba -
-with-privatedir=/etc/samba --with-fhs --with-quotas --with-smbmount --with-
pam --with-pam_smbpass --with-syslog --with-utmp --with-sambabook=/usr/share
/swat/using_samba --with-swatdir=/usr/share/swat --with-libsmbclient --with-
krb5=/usr/local/kerberos --with-ads --with-ldap
!!gets it right here!!<snip>
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... yes
!!then looks in the wrong place!!
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking for working krb5-config... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi_generic.h usability... yes
checking gssapi/gssapi_generic.h presence... yes
checking for gssapi/gssapi_generic.h... yes
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking com_err.h usability... yes
checking com_err.h presence... yes
checking for com_err.h... yes
<snip>
checking whether Active Directory and krb5 support is used... yes
Why is it doing this ?? I can go and change the configure script to get it
built - but I thought I'd let someone know.
Am I doing it wrong ??
Gavin Davenport
More information about the samba
mailing list