PDA

View Full Version : Configure error with newest CVS..



bleat
09-25-2003, 12:39 AM
Most recent CVS in to a fresh directory and I got this error. Never had it before, was wondering if it's perhaps due to the CVS.


loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-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 for gcc... gcc
checking for g++... g++
checking for supported compiler version... no
checking for gcc-3.0... gcc-3.0
checking for g++-3.0... g++-3.0
checking alternate compiler for supported compiler version... no
configure: error: You need at least GCC G++ 3.0 or greater to compile ShowEQ

suseuser7341
09-25-2003, 05:17 AM
You need at least GCC G++ 3.0 or greater

Have you tried to follow that hint ? ;)

'gcc --version' tells you what configure tried.
if gcc3 is not your default compiler you should look at the FAQ -> 2.6 How to compile Seq.
There you will find how to tell configure about alternate locations of compiler and Qt.

bleat
09-25-2003, 10:47 AM
gcc3 is already default and has been for months.

checking for gcc-3.0... gcc-3.0
checking for g++-3.0... g++-3.0

This says it found what it was looking for, yes?

BlueAdept
09-25-2003, 11:40 AM
Originally posted by bleat
checking for gcc... gcc
checking for g++... g++
checking for supported compiler version... no
checking for gcc-3.0... gcc-3.0
checking for g++-3.0... g++-3.0
checking alternate compiler for supported compiler version... no
configure: error: You need at least GCC G++ 3.0 or greater to compile ShowEQ

checking for supported compiler version... no

Means that it did not find a valid gcc/g++

checking alternate compiler for supported compiler version... no

means that it didnt find gcc-3.0/g++-3.0 or newer.

If you are SURE you have gcc3+ installed, you probably need to export it so it can find it:

export CXX=g++3
export CC=gcc3

monster69
09-25-2003, 11:41 AM
Originally posted by bleat
checking for gcc... gcc
checking for g++... g++
checking for supported compiler version... no
checking for gcc-3.0... gcc-3.0
checking for g++-3.0... g++-3.0
checking alternate compiler for supported compiler version... no
configure: error: You need at least GCC G++ 3.0 or greater to compile ShowEQ

This says it did NOT find what it was looking for. See suseuser7341's post about the FAQ.

edit: Bah, BA beat me by less than a minute. :P

bleat
09-25-2003, 11:32 PM
Fair enough. I haven't changed my compiler versions since that patch long ago that actually required new versions. I reexported. Same compiler I've used for the last serveral months, and for my QT installation. /shrug

blah:~/showeq/showeq# gcc-3.0 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0.3 20011215 (Debian prerelease)

blah:~/showeq/showeq# g++-3.0 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0.3 20011215 (Debian prerelease)