无法在centOS中安装GMP
问题描述:
我试图在我的centOS服务器上安装GMP库(https://gmplib.org/),但没有运气。无法在centOS中安装GMP
我运行此命令: -
./configure
,它给了我这样的结果: -
[[email protected] gmp-4.2.2]# ./configure
checking build system type... pentium3-unknown-linux-gnu
checking host system type... pentium3-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
[[email protected] gmp-4.2.2]#
我已经尝试了所有可能的解决方案。这里有什么问题?
您正在使用什么版本的CentOS的? –
@JuliePelletier CentOS Linux release 7.2.1511(Core) – Akshay