[Samba] Samba 3.3.0rc1 for production server - is it save?

FC Mario Patty fcmario76 at gmail.com
Mon Dec 8 15:55:06 GMT 2008


Hi,

You're right. I got this after changing samba.spec:

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

RPM build errors:
    File listed twice: samba-3.3.0rc1.tar.gz
    File not found:
/home/tilangga/tmp/samba-3.3.0rc1-root/usr/sbin/cifs.upcall

I don't understand what are those things. :)

Thank you.




On Mon, Dec 8, 2008 at 10:11 PM, Henkel Henning <henkel at hs-furtwangen.de>wrote:

> Hi,
> I had the same problem building, you need to alter the samba.spec file:
>
> gcc  -c -o mount.cifs  $RPM_OPT_FLAGS  -D_GNU_SOURCE -Wall -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE mount.cifs.c
> gcc -o mount.cifs mount.cifs.o mtab.o
> gcc -c -o umount.cifs $RPM_OPT_FLAGS  -D_GNU_SOURCE -Wall -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE umount.cifs.c
> gcc -o umount.cifs umount.cifs.o mtab.o
>
> As far as I remember you also get problems when packing the rpms, as there
> are
> two or three files that are not packed in any rpm.
>
> Cheers
>
> Henning
>
>


More information about the samba mailing list