URN Logo
UNIX Resources » Linux » Linux Forum » Samba Help » Page.1 » [Samba] Error building with Fedora packaging
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
[Samba] Error building with Fedora packaging
Subject: [Samba] Error building with Fedora packaging
Author: Michael St. Laurent    Posted: 2006-02-01 19:20:16    Length: 1,764 byte(s)
[Original] [Print] [Top]
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."
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
Subject: [Samba] Error building with Fedora packaging
Author: Gerald (Jerry) Carter    Posted: 2006-02-01 22:40:09    Length: 2,126 byte(s)
[Original] [Print] [Top]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 1 Feb 2006, Michael St. Laurent wrote:

QUOTE
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-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
« Previous thread
[Samba] DFS redirection to sub-folders beyond share
Samba Help
Page. 1
Next thread »
[Samba] Samba 4
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:58:53, cost 0.022755146026611 ms.