[Samba] RPM build not honouring contents of SPEC file.

Andrew Bartlett abartlet at samba.org
Fri Oct 10 02:58:57 GMT 2003


On Thu, 2003-10-09 at 18:43, Gavin Davenport wrote:
> 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 ??

No, it's a bug.   Please file it in bugzilla. 
(https://bugzilla.samba.org)

Basically, we look in the path for krb5-config before we consult that
parameter.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031010/a1dbac9c/attachment.bin


More information about the samba mailing list