本人最近在学习用linux搭建WEB服务器,安装的是Red Hat Enterprise Linux 4,在APACHE官方下载了httpd-2.2.9.tar.gz
执行tar.zxvf httpd-2.2.9.tar.gz-C /root/apache
进入cd /root/apche/httpd-2.2.9
执行./configure --prefix=/usr/src/apache
[code]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.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr[/code]
然后编译make
但是却老是提示:
[code][root@localhost httpd-2.2.9]# make
make: *** 没有指明目标并且找不到 makefile。 停止。[/code]
我也不知道是哪个地方做错了,本人刚学linux,希望有前辈可以指点下给出个建议方法.....好像听说安装apache的时候需要开放些服务,,希望有朋友能详细说明一下,,谢谢拉.
webyou0 于 2008-07-11 10:24:22发表:
[root@localhost httpd-2.2.9]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
我也遇到同样问题,请高手指点 一二 QQ:21269932
猪哥靓 于 2008-07-07 10:36:47发表:
谢谢啦
yuhongchun 于 2008-07-05 17:19:36发表:
forum.ubuntu.org.cn上面有详细介绍,这个不难实现
猪哥靓 于 2008-07-05 12:33:44发表:
(5ty( ......刚刚才发现用httpd -v查看到了 已经默认安装的Server version: Apache/2.0.52了.....但是如果在ubuntu下面又应该怎么安装呢?