redhat9.0使用tarball安装apache2.2configure不成功
我下载了httpd-2.2.10.tar.gz包进行tartool安装
安装步骤如下:
#rpm -qa |grep gcc
compat-gcc-7.3-2.96.118
gcc-3.4.6-10
compat-gcc-c++-7.3-2.96.118
gcc-c++-3.4.6-10
libgcc-3.4.6-10
#rpm -qa |grep make
make-3.79.1-17
httpd-2.2.10.tar.gz包下载在/home/weauthi目录下
#cd /usr/local/src
#tar -zxvf /home/weauthi/httpd-2.2.10.tar.gz
#cd httpd-2.2.10
#./configure --prefix=/usr/local/apache2 --enable-module=so --enable-rewrite
出现如下错误:
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
然后我打开“config.log”文件