Insatllation cannot find compiler

Fang, Zhe pighogswine at
Thu Jul 10 13:47:46 CEST 2008

Hi All,
I am trying to install gmp-4.2.2 on Ubuntu 7.10 with gcc 4.1.3 installed.
But it failed at ./configure stage. I googled and found that this is a
common problem. Anybody knows why? I'm pretty sure that gcc is correctly

The following is the output during config:

pighogswine at pighogswine-desktop:~/gmp-4.2.2$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -m64 ... no
checking ABI=32
checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no
checking compiler gcc -O2 -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -fomit-frame-pointer ... no
checking compiler cc -O2 -fomit-frame-pointer ... no
configure: error: could not find a working compiler, see config.log for

Best wishes
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the gmp-discuss mailing list