[Samba] Trouble Building RPMS v3.6.16

Linda W samba at tlinx.org
Mon Jul 1 19:29:30 MDT 2013





Michael wrote:
> Hi,
>
> My system: OS: Centos 6.4  Samba: 3.6.16
>
> I'm trying to build the RPMS from the packaging/RHEL directory.  After I 
> patched the samba.spec file the build is successful.  All packages 
> install without an issue. But when I try to install the SSSD, its 
> dependencies get errors that it conflicts with libtalloc, libtdb and libtevent. from the samba-common.
>
>
> If I try to use the external libraries,  I specify 
> --enable-external-libtalloc=yes, --enable-external-libtevent=yes and 
> --enable-external-libtdb= yes in my samba.spec file,  I now get the 
> following errors twice, while Processing files: samba-3.6.16-1.x86_64 
> and RPM build errors:
>
>
> error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbbackup
>
> error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbtools
> error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbdump 
>
> error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbrestore 
>
> I have install the tdb-tools but still get the error.
>   
----
      Those look like errors from rpm not finding those files to package.

I.e. you told samba not to build them -- it didn't.  But you you are using
rpm -- did you tell rpm you weren't including them?

(i.e. need to be removed from rpmspec file)



More information about the samba mailing list