日期:2014-05-16  浏览次数:20633 次

linux安装apache出现问题。大虾们帮我瞅瞅
[root@localhost httpd-2.2.17]# ./configure --prefix=/usr/local/apache-2.2.17 --enable-modules=so --enable-rewrite
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.4.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.17/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr


------解决方案--------------------
configure: error: no acceptable C compiler found in $PATH
------解决方案--------------------
没有编译器
我的异常网推荐解决方案:configure build path,http://www.aiyiweb.com/eclipse/4586.html