Greetings all,


I have a RedHat 7.1 on i386 (Pentium III), and I am trying to build the
2.23.40-1 src rpm, and I get the following error:

-----------------------------------
th-extra-charsets=complex             --exec-prefix=/usr
--libexecdir=/usr/sbin             --sysconfdir=/etc
--datadir=/usr/share
--localstatedir=/var/lib/mysql
--infodir=/usr/info             --includedir=/usr/include
--mandir=/usr/man      --with-comment="Official MySQL RPM";
     # Add this for more debugging support
     # --with-debug
     # Add this for MyISAM RAID support:
     # --with-raid
     '
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 a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... gawk
checking for gcc... egcs
checking whether the C compiler (egcs  -O3  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
error: Bad exit status from /var/tmp/rpm-tmp.97303 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.97303 (%build)
----------------------------------------------------


My gcc version is gcc-2.96-85 ......


Any ideas on what is going wrong? When I compile the source tar ball, it
compiles, and the configure script doesn't give the same error.

Nicholas



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to