|
|
一、.解压
[root@linuxsir01 software]#tar zxvf httpd-2.0.51.tar.gz
二、编译
[root@laxpserver httpd-2.0.51]# ./configure --prefix=/opt/apache --enable-track-vars --enable-cgi --with-config-file-path=/opt/apache/conf
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
[root@laxpserver httpd-2.0.51]# ls
ABOUT_APACHE apachenw.mcp.zip confdefs.h configure.in INSTALL Makefile.in os support
acconfig.h build config.layout docs InstallBin.dsp Makefile.win README test
acinclude.m4 BuildBin.dsp config.log emacs-style LAYOUT modules README.platforms VERSIONING
Apache.dsp buildconf config.nice httpd.spec libhttpd.dsp NOTICE server
Apache.dsw CHANGES configure include LICENSE NWGNUmakefile srclib
三、安装
[root@laxpserver httpd-2.0.51]# make
make: *** No targets specified and no makefile found. Stop.
(提示大意:没有结定的安装包和安装文件.停止)
[root@laxpserver httpd-2.0.51]# make install
make: *** No rule to make target `install'. Stop.
(提示大意:没有规定的文件安装包,停止)
[root@laxpserver httpd-2.0.51]#
第三步make不成功,请大家帮帮忙,为什么会这样呢? |
|