Chris Mason
2002-May-12 06:14 UTC
[Samba] Building source rpms does not build all the rpms.
I just downloaded the 2.2.4-2 src.rpm file from samba.org and installed and compiled on my intel-redhat 7.2 system. When I changed to /usr/src/redhat/RPMS/i386 I found only i386/samba-2.2.4-2.i386.rpm in it. There was no other rpms, even though the spec file says there will be. Here's the last few lines of the build output, I only see two rpms being created. **************************************************************************** ********** Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... Provides: samba = 2.2.4 samba-common = 2.2.4 samba-client = 2.2.4 samba-swat = 2.2.4 libnss_winbind.so libnss_wins.so pam_winbind.so PreReq: chkconfig fileutils rpmlib(VersionedDependencies) <= 3.0.3-1 /bin/sh /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <3.0.4-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: pam >= 0.72 kernel >= 2.2.1 glibc >= 2.1.2 /bin/sh ld-linux.so.2 libcrypto.so.2 libc.so.6 libcups.so.2 libdl.so.2 libncurses.so.5 libnsl.so.1 libpam.so.0 libpopt.so.0 libreadline.so.4 libssl.so.2 /bin/sh /usr/bin/perl libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libnsl.so.1(GLIBC_2.0) Wrote: /usr/src/redhat/SRPMS/samba-2.2.4-2cm.src.rpm Wrote: /usr/src/redhat/RPMS/i386/samba-2.2.4-2cm.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23282 + umask 022 + cd /usr/src/redhat/BUILD + cd samba-2.2.4 + rm -rf /var/tmp/samba + exit 0 Chris Mason masonc@masonc.com Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 Take a virtual tour of the island http://www.anguillaguide.com/ The Anguilla Guide Find your perfect rental villa www.mycaribbean.com Talk to me in real time: MSN Instant Messenger: masonc92@hotmail.com ICQ 118159388 Yahoo:netconcepts_anguilla US Fax and Voicemail: (605)253-1759
John H Terpstra
2002-May-12 09:26 UTC
[Samba] Building source rpms does not build all the rpms.
Chris, The official Samba-Team RPM puts all files you need into one (1) binary RPM package for Red Hat Linux systems. Red Hat split this into several separate packages. If you perform and RPM update with just the .i386.rpm package it should auto-remove all the older samba packages that Red Hat installed. - John T.> From: "Chris Mason" <masonc@masonc.com> > To: <samba@samba.org> > Date: Sun, 12 May 2002 09:10:43 -0400 > Subject: [Samba] Building source rpms does not build all the rpms. > > I just downloaded the 2.2.4-2 src.rpm file from samba.org and installed and > compiled on my intel-redhat 7.2 system. > When I changed to /usr/src/redhat/RPMS/i386 I found only > i386/samba-2.2.4-2.i386.rpm in it. > There was no other rpms, even though the spec file says there will be. > Here's the last few lines of the build output, I only see two rpms being > created. > > Wrote: /usr/src/redhat/SRPMS/samba-2.2.4-2cm.src.rpm > Wrote: /usr/src/redhat/RPMS/i386/samba-2.2.4-2cm.i386.rpm-- John H Terpstra Email: jht@samba.org
Buchan Milne
2002-May-13 05:04 UTC
[Samba] Building source rpms does not build all the rpms.
> Message: 6 > From: Chris Mason <masonc@masonc.com> > Organization: NetConcepts > To: John H Terpstra <jht@samba.org>, <samba@samba.org> > Subject: Re: [Samba] Building source rpms does not build all the rpms. > Date: Sun, 12 May 2002 14:53:38 -0400 > > The problem is, rpm will not install it without either removing the old > packages first or forcing the install with --nodeps.Are you sure (ie did you try) or do you just think so? The new spec file (in 2.2.4, not in 2.2.3a) now has provides tags for samba-client,samba-common etc, so it shouldn't need --nodeps. If it does still, please post a mail back to the list so someone can take care of it ... Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7