A recent post suggested using the Fedora packaging to get the separate RPMs to build for Redhat. I gave that a try but am getting the following error when doing so on a Redhat 9 system: make[1]: Leaving directory `/usr/src/redhat/BUILD/samba-3.0.21b/source' rm -f /usr/src/redhat/BUILD/samba-3.0.21b/source/include/includes.h.gch gcc -I. -I/usr/src/redhat/BUILD/samba-3.0.21b/source -O2 -g -march=i386 -mcpu=i 686 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I/usr/src/redhat/BUILD/samb a-3.0.21b/source/include -I/usr/src/redhat/BUILD/samba-3.0.21b/source/ubiqx -I/u sr/src/redhat/BUILD/samba-3.0.21b/source/tdb -I. -I/usr/kerberos/include -D_LAR GEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/usr/sr c/redhat/BUILD/samba-3.0.21b/source -D_SAMBA_BUILD_ -c /usr/src/redhat/BUIL D/samba-3.0.21b/source/include/includes.h -o /usr/src/redhat/BUILD/samba-3.0.21b /source/include/includes.h.gch gcc: compilation of header file requested make: *** [pch] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.29170 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.29170 (%build) [root@hart-nas SPECS]# -- Michael St. Laurent Hartwell Corporation "This is the captain speaking. We may experience some turbulence... and then explode."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 1 Feb 2006, Michael St. Laurent wrote:> A recent post suggested using the Fedora packaging to get the separate RPMs > to build for Redhat. I gave that a try but am getting the following error > when doing so on a Redhat 9 system:> /source/include/includes.h.gch > gcc: compilation of header file requested > make: *** [pch] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.29170 (%build)I need to add a check for gcc 3.4 or later when building the precompiled header file. Just comment out the make pch in the specfile. cheers, jerry ====================================================================I live in a Reply-to-All world. ----------------------- Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFD4X5PIR7qMdg1EfYRAlxRAKDtHJ+t2OCBmZm17bu6BGpQ0ei59gCfaCG7 W0DeVsFE35rAi0gQ9lm/9sU=TQYq -----END PGP SIGNATURE-----
That worked. Thanks! -- Michael St. Laurent Hartwell Corporation "This is the captain speaking. We may experience some turbulence... and then explode."> -----Original Message----- > From: Gerald (Jerry) Carter [mailto:jerry@samba.org] > Sent: Wednesday, February 01, 2006 7:37 PM > To: Michael St. Laurent > Cc: 'samba@lists.samba.org' > Subject: Re: [Samba] Error building with Fedora packaging > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 1 Feb 2006, Michael St. Laurent wrote: > > > A recent post suggested using the Fedora packaging to get > the separate RPMs > > to build for Redhat. I gave that a try but am getting the > following error > > when doing so on a Redhat 9 system: > > > /source/include/includes.h.gch > > gcc: compilation of header file requested > > make: *** [pch] Error 1 > > error: Bad exit status from /var/tmp/rpm-tmp.29170 (%build) > > I need to add a check for gcc 3.4 or later when building > the precompiled header file. Just comment out the make pch in the > specfile. > > > > > > > cheers, jerry > ====================================================================> I live in a Reply-to-All world. ----------------------- > Samba ------- http://www.samba.org > Centeris ----------- http://www.centeris.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > Comment: For info see http://quantumlab.net/pine_privacy_guard/ > > iD8DBQFD4X5PIR7qMdg1EfYRAlxRAKDtHJ+t2OCBmZm17bu6BGpQ0ei59gCfaCG7 > W0DeVsFE35rAi0gQ9lm/9sU> =TQYq > -----END PGP SIGNATURE----- >