当前位置: 技术问答>linux和unix
在LINUX中安装APACHE出错,帮忙看看是什么问题啊?
来源: 互联网 发布时间:2015-09-28
本文导语: 我用ROOT用户在 usr/local中解压后得到apache的目录为 httpd-2.0.48 但是执行 ./configure时报错了 帮忙看看是什么问题啊?怎么解决呢? [root@localhost httpd-2.0.48]# ./configure checking for chosen layout... Apache checking for working...
我用ROOT用户在 usr/local中解压后得到apache的目录为 httpd-2.0.48 但是执行
./configure时报错了 帮忙看看是什么问题啊?怎么解决呢?
[root@localhost httpd-2.0.48]# ./configure
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: 0.9.5
checking for chosen layout... apr
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
configure failed for srclib/apr
./configure时报错了 帮忙看看是什么问题啊?怎么解决呢?
[root@localhost httpd-2.0.48]# ./configure
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: 0.9.5
checking for chosen layout... apr
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
configure failed for srclib/apr
|
没有安装编译器gcc?
安装apache最方便的方法就是用rpm包。
安装apache最方便的方法就是用rpm包。
|
安装gcc,或者就直接下个rpm算了