QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 793|回复: 1

apache安装出错

[复制链接]
发表于 2005-1-13 08:44:25 | 显示全部楼层 |阅读模式
我下载了个pache-2.0.52版本,在RH9下安装的,步骤和提示如下:
[root@jcw httpd-2.0.52]# ./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl
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@jcw httpd-2.0.52]# make
make: *** No targets specified and no makefile found.  Stop.
[root@jcw httpd-2.0.52]# make install
make: *** No rule to make target `install'.  Stop.
[root@jcw httpd-2.0.52]#
不知道为什么,请指教
发表于 2005-1-13 09:39:02 | 显示全部楼层
没有安装c和c++环境,在原安装光盘上找到gcc、glibc、gcc-c++的包安装上,包括依赖包。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 17:27 , Processed in 0.049383 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表