码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-02-07 02:29:16      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:安装源码包

[root@linuxStudy 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

[root@linuxStudy httpd-2.2.31]# yum install -y gcc


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

标签:安装源码包

原文地址:http://4853549.blog.51cto.com/4843549/1741276

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!