|
|
我是下载的 源码apache (即:httpd-2.2.0.tar.gz) , 环境是 redhat9.0
我先将下载来的源文件复制到 /usr/local/src 下
顺利的进行完解压缩, 在执行配置文件时configure 出现了 错误提示 如下:
[root@camel httpd-2.2.0]# ./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: 1.2.2
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@camel httpd-2.2.0]# make
make: *** No targets specified and no makefile found. Stop.
我是 刚接触 linux也是第一次安装apache 不知道问题出在哪?
希望高手帮忙看下 谢拉 ! |
|