如何在Linux9.0中重新安装apache2.0.49?
Linux9.0安装时会自带装上apache2.0.46。可我却找不到安装目录(可能“/etc/httpd/”就是安装目录,但是在其中我却找不到应有的“bin”目录,于是也找到其中的一些apache命令)。
于是我就想在其中在安装一个apache2.0.49,准备将其安装到“/usr/local/apache2”下。我从apache.org上下载了一个apache2.0.49.tar.gz,解压缩后,运行一下命令,并得到了一些错误信息,如下所示:
[root@localhost httpd-2.0.49]# ./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: 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
See `config.log' for more details.
configure failed for srclib/apr
[root@localhost httpd-2.0.49]#
各位大虾,其中的错误“no acceptable C compiler found in $PATH”到底是怎么回事?