Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 9 Dec 2005, Oliver Schulze L. wrote:

 I think rpmbuild picks the packaging/Fedora/samba.spec file.

run sh makerpms.sh.  Don't use the spec file directly.






cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
Centeris ---  http://www.centeris.com
There's an anonymous coward in all of us.   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFDnvtKIR7qMdg1EfYRAukBAJ4nNCl43qs0u/PT4vAqnZ7dpOgDuQCgijn5
3AWIGi3Ya59IhDykXaWgsYA=
=1z8w
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-13 Thread Oliver Schulze L.

Hi Jerry,
I'm could build sucessfully in Centos4.2 (RHEL4 U2 compatible) with this
patch to the file:
packaging/Redhat/makerpms.sh

# diff makerpms.sh makerpms.sh.centos4
49c49
 4.[12]*)
---
 4.[123]*)

In centos4.2 I have this:
$ rpm --version
RPM version 4.3.3

HTH
Oliver

Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 9 Dec 2005, Oliver Schulze L. wrote:

  

I think rpmbuild picks the packaging/Fedora/samba.spec file.



run sh makerpms.sh.  Don't use the spec file directly.

  


--
Oliver Schulze L.
[EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 13 Dec 2005, Oliver Schulze L. wrote:

 Hi Jerry,
 I'm could build sucessfully in Centos4.2 (RHEL4 U2 compatible) with this
 patch to the file:
 packaging/Redhat/makerpms.sh
 
 # diff makerpms.sh makerpms.sh.centos4
 49c49
  4.[12]*)
 ---
  4.[123]*)
 
 In centos4.2 I have this:
 $ rpm --version
 RPM version 4.3.3

ok.  THanks.  I'll fix that.






cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
Centeris ---  http://www.centeris.com
There's an anonymous coward in all of us.   --anonymous
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFDnxfZIR7qMdg1EfYRAgSwAKCU+otXqS1C3BAUYyPdkdq/yGdZWgCg5P/h
bghRXg7x7PXQsJjeiqE59N8=
=DFik
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-09 Thread Oliver Schulze L.

I think rpmbuild picks the packaging/Fedora/samba.spec file.

Will try compilling with the Redhat and Fedora .specs

Also, I just compilled the .src.rpm for fedora4 that is posted
in the news announcement. No problem with that.

Oliver

Josh Kelley wrote:

On 12/8/05, Oliver Schulze L. [EMAIL PROTECTED] wrote:
  

Hi,
I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors:



Which spec file / source RPM are you using?

Josh Kelley
  


--
Oliver Schulze L.
[EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-08 Thread Oliver Schulze L.

Hi,
I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors:

First, this easy one:
[EMAIL PROTECTED] SOURCES]# rpmbuild -ta --clean --target=i686 
samba-3.0.21rc2.tar.gz

Building target platforms: i686
Building for target i686
error: File /usr/src/redhat/SOURCES/samba-3.0.21rc2.tar.bz2: No such 
file or directory


I solved by creating a .bz2 file:
tar xzf samba-3.0.21rc2.tar.gz
tar cjf samba-3.0.21rc2.tar.bz2 samba-3.0.21rc2
mv samba-3.0.21rc2.tar.bz2 /usr/src/redhat/SOURCES

But, then, I get this error:
rpmbuild -ta --clean --target=i686 samba-3.0.21rc2.tar.bz2

...

+ mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/xinetd.d
+ install -m644 /usr/src/redhat/SOURCES/samba.xinetd 
/var/tmp/samba-3.0.21rc2-root/etc/xinetd.d/swat

+ mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/sysconfig
+ install -m644 /usr/src/redhat/SOURCES/samba.sysconfig 
/var/tmp/samba-3.0.21rc2-root/etc/sysconfig/samba

+ rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/log2pcap.1
+ rm -f '/var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/smbsh.1*'
+ rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/vfstest.1
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
error: Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No 
such file or directory



RPM build errors:
   Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No such 
file or directory


How do I solve this issue? I think its a .spec problem

Regards,
Oliver

--
Oliver Schulze L.
[EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

2005-12-08 Thread Josh Kelley
On 12/8/05, Oliver Schulze L. [EMAIL PROTECTED] wrote:
 Hi,
 I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors:

Which spec file / source RPM are you using?

Josh Kelley
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba