64位 linux 安装gmp,无法在centOS中安装GMP

我正在尝试在我的centOS服务器上安装GMP库(https://gmplib.org/),但是没有运气。

我运行此命令:-

./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]#

我已经尝试了所有可能的解决方案。怎么了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值