[Samba] Problem building Samba 3.6.1 RPMs on CentOS 5.5 x86_64 (mount.cifs isn't built)
lists at boyandin.name
Thu Nov 17 00:09:06 MST 2011
I am trying to build Samba 3.6.1 on 64-bit CentOS 5.5.
I have navigated to packaging/RHEL and made changes to it I had to do to build 3.5.6.and 3.5.8 versions earlier.
In the diff below samba.spec.0 is the samba.spec supplied with Samba 3.6.1 source distribution, samba.spec - the one I patched to be able to build RPMs on CentOS:
$ diff samba.spec.0 samba.spec
------------------ diff below
< BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-devel
> BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-libs-devel
> --with-cifsmount \
> --with-cifsumount \
------------------ diff above
This time building failed: mount.cifs wasn't built. May I ask for a piece of advice - how to build RPMs properly?
More information about the samba