麻烦大家帮我看看,我新手安装apache出错

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
sunwei_07
帖子: 56
注册时间: 2008-05-15 13:41
来自: 浙江

麻烦大家帮我看看,我新手安装apache出错

#1

帖子 sunwei_07 » 2008-05-19 11:47

我./configure出现下面错误

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring APR library
Platform: i686-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version: 1.2.12
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr


sunwei@sunwei-desktop:~/J2EE/apache$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

#2

帖子 dbzhang800 » 2008-05-19 12:06

为啥不通过源安装??
sunwei_07
帖子: 56
注册时间: 2008-05-15 13:41
来自: 浙江

#3

帖子 sunwei_07 » 2008-05-22 16:21

通过源安装他地址在哪的,我找不到httpd.conf
是不是就是apache2.conf
头像
newnew8850
帖子: 47
注册时间: 2007-05-22 13:32

#4

帖子 newnew8850 » 2008-05-22 16:39

对头,就是那个
in2in
帖子: 13
注册时间: 2007-10-05 16:46

#5

帖子 in2in » 2008-05-27 21:38

ubuntu的源安装后,httpd.conf文件就是/etc/apache2/下的apache2.conf文件
回复