由 RangeRover 在 06-19-2004 22:41 发表:
Apache的安装出了问题,怎么回事呢?
我在装服务器时把LinuxRedhat9原有的httpd删了,就装了个最简单的RedHat9,现在安装Apache httpd-2.0.49,结果刚刚./configure了一下,就报这样的错:
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
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
而在此之前,我只是在Server里面装了个javaSDK1.4,改了一下/etc/profile,加了几行:
JAVA_HOME=/usr/java/j2sdk1.4.2_04
export JAVA_HOME
CLASSPATH=/usr/java/j2sdk1.4.2_04/lib:/usr/java/j2sdk1.4.2_04/jre/lib
export CLASSPATH
PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
export PATH
改了环境变量后重启机器,再装Apache,好像两者没什么关系吧……
本人菜鸟级水平
很急,这个Server急着用呢,各位达人多帮忙啊!
由 RangeRover 在 06-19-2004 23:26 发表:
好像是我安装Server时把