当前位置: 技术问答>linux和unix
configure问题
来源: 互联网 发布时间:2015-01-21
本文导语: 我在装apache2.0.43时遇到如下问题,请问如何解决? [root@ftpserver httpd]# ./configure --prefix=/usr/loacl/apache checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnuoldld che...
我在装apache2.0.43时遇到如下问题,请问如何解决?
[root@ftpserver httpd]# ./configure --prefix=/usr/loacl/apache
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 gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
configure failed for srclib/apr
[root@ftpserver httpd]# ./configure --prefix=/usr/loacl/apache
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 gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
configure failed for srclib/apr
|
在你的linux安装光盘里找一下gcc*.rpm,用
rpm -ivh gcc*.rpm安装一下,如果报告依赖关系错误,把需要的包挨个安装一下阿。
rpm -ivh gcc*.rpm安装一下,如果报告依赖关系错误,把需要的包挨个安装一下阿。