./configure源码包时“no acceptable C compiler found in $PATH”

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./configure源码包时“no acceptable C compiler found in $PATH”相关的知识,希望对你有一定的参考价值。

[[email protected] httpd-2.2.31]# ./configure --prefix=/usr/local/apache2
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.5.2
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.31/srclib/apr‘:
configure: error: no acceptable C compiler found in $PATH
See `config.log‘ for more details
configure failed for srclib/apr

[[email protected] httpd-2.2.31]# yum install -y gcc


以上是关于./configure源码包时“no acceptable C compiler found in $PATH”的主要内容,如果未能解决你的问题,请参考以下文章

源码包的安装

如何在创建nuget包时使用-NoDefaultExcludes

安装 YamCha 包时出错

Eclipse中Jar包的反编译(通过jar包查看源码)

Hadoop 运行jar包时 java.lang.ClassNotFoundException: Class com.zhen.mr.RunJob$HotMapper not found

停止 Unix `tar` 命令在解包时创建完整目录路径 [关闭]