configure:error:找不到有效的编译器,(centos)

时间:2014-09-28 05:43:13

标签: linux configure gmp centos6.5

我需要构建并安装“GMP”,但每当我尝试构建它时:

 ./configure 0x2013prefix=/home/joe/local

此结果有以下错误

 configure: error: could not find a working compiler, see config.log for details

当我尝试构建GMP时,这是完整的输出

checking build system type... pentium2-unknown-linux-gnu
checking host system type... pentium2-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no
checking compiler gcc -O2 -fomit-frame-pointer ... yes
checking compiler gcc -O2 -fomit-frame-pointer has sizeof(long)==4... 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 ... yes
checking compiler cc -O2 -fomit-frame-pointer has sizeof(long)==4... no
configure: error: could not find a working compiler, see config.log for details

请帮帮我,

PS:我正在使用centos 6.5,我正在关注http://www.linux-mag.com/id/5759/教程学习MPI,我看到很多这样的问题,但没有一个人帮助过我。

0 个答案:

没有答案