安装gmp报错,小白鼠,麻烦各位大神帮忙解答一下,详细一点

baidu_37700031 2019-04-16 05:13:09
[admin@localhost temp]$ ../configure --prefix=/admin/gmp/gmp-5.0.1
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 a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -m64 ... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking compiler cc -O ... no
configure: error: could not find a working compiler, see config.log for details
...全文
1082 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
十色鹿 2021-09-08
  • 打赏
  • 举报
回复

lxq@lxq-Precision-7920-Tower:~/solps/gmp-6.1.2$ ABI= CFLAGS=-m32 ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking compiler cc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking ABI=x32
checking compiler gcc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking compiler cc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking ABI=32
checking compiler gcc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking compiler icc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
checking compiler cc -m32 -I/home/lxq/solps/netcdf/netcdf4-needed/include... no
configure: error: could not find a working compiler, see config.log for details
我也遇到这个问题...感觉和版本没啥关系,不知道问题出在那里

  • 打赏
  • 举报
回复
你好,请问解决了没有啊

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧