LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 787|回复: 2

安装httpd-2.0.51.tar.gz 第三步编译过后的make不成功,请帮忙

[复制链接]
发表于 2004-9-28 10:44:07 | 显示全部楼层 |阅读模式
一、.解压

[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不成功,请大家帮帮忙,为什么会这样呢?
发表于 2004-9-28 15:06:37 | 显示全部楼层
没有安装开发包!!
CC
GCC
等!
发表于 2004-9-28 16:42:07 | 显示全部楼层
gcc没装啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表