rpmbuild --rebuild gcc296 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment out the following line in the .spec file put in
/usr/src/redhat/SPECS: 

    CC=gcc296 CXX=g++296

and it will work just fine.

Rau

w wrote:

 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > I'm trying to rebuild mozilla-1.2 src.rpm with the --rebuild option.  The 
 > rebuild fails, apparently due to a gcc problem:
 > 
 > "checking whether the C compiler (gcc296  ) works... no
 > configure: error: installation or configuration problem: C compiler cannot 
 > create executables."
 > 
 > Any thoughts on how I can get this to work?  Following is the entire 
 > output.
 > 
 > [root /downloads/mozilla12]$ rpmbuild --rebuild mozilla*src.rpm
 > Installing mozilla-1.2-0_rh8.src.rpm
 > warning: user blizzard does not exist - using root
 > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43758
 > + umask 022
 > + cd /usr/src/redhat/BUILD
 > + LANG=C
 > + export LANG
 > + cd /usr/src/redhat/BUILD
 > + rm -rf mozilla
 > + /usr/bin/gzip -dc 
 > /usr/src/redhat/SOURCES/mozilla-source-1.2-0_rh8.tar.gz
 > + tar -xf -
 > + STATUS=0
 > + '[' 0 -ne 0 ']'
 > + cd mozilla
 > ++ /usr/bin/id -u
 > + '[' 0 = 0 ']'
 > + /bin/chown -Rhf root .
 > ++ /usr/bin/id -u
 > + '[' 0 = 0 ']'
 > + /bin/chgrp -Rhf root .
 > + /bin/chmod -Rf a+rX,g-w,o-w .
 > + echo 'Patch #7 (mozilla-redhat-home-page.patch):'
 > Patch #7 (mozilla-redhat-home-page.patch):
 > + patch -p1 -s
 > + echo 'Patch #7 (mozilla-redhat-home-page.patch):'
 > Patch #7 (mozilla-redhat-home-page.patch):
 > + patch -p1 -R -s
 > + echo 'Patch #8 (mozilla-redhat-mail-home-page.patch):'
 > Patch #8 (mozilla-redhat-mail-home-page.patch):
 > + patch -p1 -s
 > + echo 'Patch #8 (mozilla-redhat-mail-home-page.patch):'
 > Patch #8 (mozilla-redhat-mail-home-page.patch):
 > + patch -p1 -R -s
 > + echo 'Patch #11 (mozilla-taskbar-nomozilla.patch):'
 > Patch #11 (mozilla-taskbar-nomozilla.patch):
 > + patch -p1 -s
 > + echo 'Patch #11 (mozilla-taskbar-nomozilla.patch):'
 > Patch #11 (mozilla-taskbar-nomozilla.patch):
 > + patch -p1 -R -s
 > + echo 'Patch #12 (mozilla-psfonts-7.2.patch):'
 > Patch #12 (mozilla-psfonts-7.2.patch):
 > + patch -p1 -s
 > + echo 'Patch #13 (mozilla-nspr-packages.patch):'
 > Patch #13 (mozilla-nspr-packages.patch):
 > + patch -p1 -s
 > + echo 'Patch #14 (mozilla-default-plugin-less-annoying.patch):'
 > Patch #14 (mozilla-default-plugin-less-annoying.patch):
 > + patch -p1 -s
 > + exit 0
 > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3179
 > + umask 022
 > + cd /usr/src/redhat/BUILD
 > + cd mozilla
 > + LANG=C
 > + export LANG
 > + '[' -x /usr/bin/getconf ']'
 > ++ getconf _NPROCESSORS_ONLN
 > + CPUS=1
 > + test x1 = x -o x1 = x0
 > + CC=gcc296
 > + CXX=g++296
 > + BUILD_OFFICIAL=1
 > + MOZILLA_OFFICIAL=1
 > + ./configure --prefix=/usr --enable-optimize --disable-debug 
 > - --with-default-mozilla-five-home=/usr/lib/mozilla-1.2 --enable-strip-libs 
 > - --disable-tests --disable-short-wchar --enable-nspr-autoconf 
 > - --enable-extensions=default,irc --without-mng --enable-crypto 
 > - --disable-xprint --without-system-nspr --disable-freetype2 
 > - --with-system-zlib --mandir=/usr/share/man
 > creating cache ./config.cache
 > checking host system type... i686-pc-linux-gnu
 > checking target system type... i686-pc-linux-gnu
 > checking build system type... i686-pc-linux-gnu
 > checking for gcc... gcc296
 > checking whether the C compiler (gcc296  ) works... no
 > configure: error: installation or configuration problem: C compiler cannot 
 > create executables.
 > error: Bad exit status from /var/tmp/rpm-tmp.3179 (%build)
 > 
 > RPM build errors:
 >     user blizzard does not exist - using root
 >     group blizzard does not exist - using root
 >     Bad exit status from /var/tmp/rpm-tmp.3179 (%build)
 > -----BEGIN PGP SIGNATURE-----
 > Version: GnuPG v1.0.7 (GNU/Linux)
 > 
 > iD8DBQE953QfuVBngJFsNxYRAuBlAKCpWpg9Tb34AGQPzhgN2J/k7zO/9wCgps6M
 > stXl1W0leBAzxSWw/LZXC4I=
 > =PeEA
 > -----END PGP SIGNATURE-----
 > 
 > 
 > 
 > -- 
 > Psyche-list mailing list
 > Psyche-list@redhat.com
 > https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux