Chinaunix

标题: ------apache编译失败-------- [打印本页]

作者: shipenghou    时间: 2008-05-28 18:45
标题: ------apache编译失败--------
想架设LAMP服务器,使用linux版本 Cent OS4 ,想先安装apache,
[root@vps106 httpd-2.2.4]# ./configure --prefix=/usr/local/apache2/ --with-ssl --enable-so --enable-rewrite
--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.8
--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@vps106 httpd-2.2.4]# make
make: *** No targets specified and no makefile found.  Stop.

我不知道到底是那里错了,还请有知道的人能给指点一下.谢谢
作者: hmglly    时间: 2008-05-29 09:27
安装c或者gcc环境
作者: 无声无息    时间: 2008-05-29 15:54
--configure: error: no acceptable C compiler found in $PATH   |

报错不是很清楚吗?没有c编译器
作者: fengfeng919    时间: 2008-05-29 16:24
不要赶潮流,centos并不是你听人家说的那样好,初学者linux还是redhat吧?起码函数强多了
作者: hawking8987    时间: 2008-05-30 15:09
yum -y install gcc
作者: 3645636    时间: 2008-05-31 21:08
盲目,去下载一个fedora或者freebsd,比以上的安装简单多了.
作者: shipenghou    时间: 2008-06-02 10:36
谢谢各位了,首先呢,我是学习日语的,英语不会哦。只记住了几个单词,呵呵,其次,我以后的工作环境就是CENT OS,所以现在要努力练习,反正就是谢谢各位了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2