当前位置: 技术问答>linux和unix
紧急求助,unix下安装httpd-2.0.63.tar.gz出现的问题
来源: 互联网 发布时间:2017-05-27
本文导语: 各位老师好,新手求教 安装时,报这个错,然后大家都说是需要安装gcc套件 # ./configure checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... rs6000-ibm-aix checking host system type... rs6...
各位老师好,新手求教
安装时,报这个错,然后大家都说是需要安装gcc套件
# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... rs6000-ibm-aix
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... rs6000-ibm-aix
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
Configuring APR library
Platform: rs6000-ibm-aix
checking for working mkdir -p... yes
APR Version: 0.9.17
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
然后我下载了一个gcc套件,可是在安装gcc套件时,报下面这个错
# cd gcc-3.4.0
# ./configure
creating cache ./config.cache
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
checking build system type... rs6000-ibm-aix
checking for a BSD compatible install... ./install-sh -c
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
./configure[2332]: cc: not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
从这个错来看,大家说这个没解,这个错的意思是装编译器时需要编译器,陷入了死循环
我的系统是: AIX js0105 1 6 000C8F0AD400 ,我通过uname -a查的
不知道这到底是什么情况,请求各位指点,谢谢啦
安装时,报这个错,然后大家都说是需要安装gcc套件
# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... rs6000-ibm-aix
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... rs6000-ibm-aix
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
Configuring APR library
Platform: rs6000-ibm-aix
checking for working mkdir -p... yes
APR Version: 0.9.17
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
然后我下载了一个gcc套件,可是在安装gcc套件时,报下面这个错
# cd gcc-3.4.0
# ./configure
creating cache ./config.cache
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
checking build system type... rs6000-ibm-aix
checking for a BSD compatible install... ./install-sh -c
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
./configure[2332]: cc: not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
从这个错来看,大家说这个没解,这个错的意思是装编译器时需要编译器,陷入了死循环
我的系统是: AIX js0105 1 6 000C8F0AD400 ,我通过uname -a查的
不知道这到底是什么情况,请求各位指点,谢谢啦
|
install the gcc binary from IBM site:
http://www.ibm.com/developerworks/aix/library/au-gnu.html
http://www.ibm.com/developerworks/aix/library/au-gnu.html
|
编译安装总得有个原始的编译器吧..
或者rpm安装