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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
解决办法:
[root@mail 3.4.3]# find / -name gcc
/usr/libexec/gcc
[root@mail 3.4.3]# set PATH=$PATH:/usr/libexec/gcc
[root@mail 3.4.3]# export PATH
搞定。
本文介绍了一种在配置MPFR库过程中遇到的C编译器缺失问题及解决方案。通过查找gcc安装路径并将其添加到系统PATH环境变量中,成功解决了配置过程中的错误。

923

被折叠的 条评论
为什么被折叠?



