无法在centOS中安装GMP [英] Unable to install GMP in centOS
本文介绍了无法在centOS中安装GMP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在我的centOS服务器上安装GMP库( https://gmplib.org/ ),
I'm trying to install GMP Library (https://gmplib.org/) on my centOS server, but there's no luck.
我运行以下命令:-
./configure
它给了我这个结果:-
[root@centos-512mb-ams3-01 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
[root@centos-512mb-ams3-01 gmp-4.2.2]#
我尝试了所有可能的解决方案。
I've tried all possible solutions. What is wrong here?
推荐答案
使用系统的安装程序进行安装:
Install it with the system's installer:
yum install php-gmp
这篇关于无法在centOS中安装GMP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文