按照正常方式安装apache2,出现如下错误:
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
解决办法是:
1.打开RHEL 6.1安装光盘,在Packages文件夹下面,找到下面的安装包
kernel-headers-2.6.32-131.0.15.el6.i686.rpm
compat-glibc-headers-2.5-46.2.i686.rpm
compat-glibc-2.5-46.2.i686.rpm
compat-libstdc++-33-3.2.3-69.el6.i686.rpm
compat-libf2c-34-3.4.6-19.el6.i686.rpm
compat-libgcc-296-2.96-144.el6.i686.rpm
mpfr-2.4.1-6.el6.i686.rpm
cpp-4.4.5-6.el6.i686.rpm
glibc-headers-2.12-1.25.el6.i686.rpm
glibc-devel-2.12-1.25.el6.i686.rpm
libgomp-4.4.5-6.el6.i686.rpm
libstdc++-devel-4.4.5-6.el6.i686.rpm
ppl-0.10.2-11.el6.i686.rpm
cloog-ppl-0.15.7-1.2.el6.i686.rpm
gcc-4.4.5-6.el6.i686.rpm
compat-gcc-34-3.4.6-19.el6.i686.rpm
compat-gcc-34-c++-3.4.6-19.el6.i686.rpm
make-3.81-19.el6.i686.rpm
keyutils-libs-devel-1.4-1.el6.i686.rpm
libcom_err-devel-1.41.12-7.el6.i686.rpm
libsepol-devel-2.0.41-3.el6.i686.rpm
libselinux-devel-2.0.94-5.el6.i686.rpm
krb5-devel-1.9-9.el6.i686.rpm
zlib-devel-1.2.3-25.el6.i686.rpm
openssl-devel-1.0.0-10.el6.i686.rpm
libXpm-3.5.8-2.el6.i686.rpm
gd-2.0.35-10.el6.i686.rpm
freetype-2.3.11-6.el6_0.2.i686.rpm
libxml2-2.7.6-1.el6.i686.rpm
libxml2-devel-2.7.6-1.el6.i686.rpm
curl-7.19.7-26.el6.i686.rpm
libjpeg-devel-6b-46.el6.i686.rpm
libjpeg-6b-46.el6.i686.rpm
libjpeg-static-6b-46.el6.i686.rpm #需要从CentOS 6.0 rpm包中下载
libpng-1.2.44-1.el6.i686.rpm
libpng-devel-1.2.44-1.el6.i686.rpm
libpng-static-1.2.44-1.el6.i686.rpm #需要从CentOS 6.0 rpm包中下载
php-common-5.3.3-3.el6.i686.rpm
php-gd-5.3.3-3.el6.i686.rpm
gcc-c++-4.4.5-6.el6.i686.rpm
ncurses-devel-5.7-3.20090208.el6.i686.rpm
ncurses-term-5.7-3.20090208.el6.i686.rpm
ncurses-static-5.7-3.20090208.el6.i686.rpm #需要从CentOS 6.0 rpm包中下载
perl-Pod-Escapes-1.04-119.el6.i686.rpm
perl-libs-5.10.1-119.el6.i686.rpm
perl-version-0.77-119.el6.i686.rpm
perl-Module-Pluggable-3.90-119.el6.i686.rpm
perl-Pod-Simple-3.13-119.el6.i686.rpm
perl-5.10.1-119.el6.i686.rpm
autoconf213-2.13-20.1.el6.noarch.rpm #需要从CentOS 6.0 rpm包中下载
autoconf-2.63-5.1.el6.noarch.rpm
automake-1.11.1-1.2.el6.noarch.rpm
automake14-1.4p6-19.2.el6.noarch.rpm #需要从CentOS 6.0 rpm包中下载
automake16-1.6.3-18.el6.1.noarch.rpm #需要从CentOS 6.0 rpm包中下载
libtool-ltdl-2.2.6-15.5.el6.i686.rpm
libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm #需要从CentOS 6.0 rpm包中下载
libtool-2.2.6-15.5.el6.i686.rpm
patch-2.6-6.el6.i686.rpm
bison-2.4.1-5.el6.i686.rpm
2.进入软件包存放目录,按照以下顺序进行安装,特别注意:顺序一定不能错,否则安装失败。小技巧:可以把下面的所有行按顺序一次性复制到终端命令行,
系统会自动安装的,这样会节省很对时候,同时也避免操作错误!
rpm -ivh kernel-headers-2.6.32-131.0.15.el6.i686.rpm
rpm -ivh compat-glibc-headers-2.5-46.2.i686.rpm
rpm -ivh compat-glibc-2.5-46.2.i686.rpm
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.i686.rpm
rpm -ivh compat-libf2c-34-3.4.6-19.el6.i686.rpm
rpm -ivh compat-libgcc-296-2.96-144.el6.i686.rpm
rpm -ivh mpfr-2.4.1-6.el6.i686.rpm
rpm -ivh cpp-4.4.5-6.el6.i686.rpm
rpm -ivh glibc-headers-2.12-1.25.el6.i686.rpm
rpm -ivh glibc-devel-2.12-1.25.el6.i686.rpm
rpm -ivh libgomp-4.4.5-6.el6.i686.rpm
rpm -ivh libstdc++-devel-4.4.5-6.el6.i686.rpm
rpm -ivh ppl-0.10.2-11.el6.i686.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
rpm -ivh gcc-4.4.5-6.el6.i686.rpm
rpm -ivh compat-gcc-34-3.4.6-19.el6.i686.rpm
rpm -ivh compat-gcc-34-c++-3.4.6-19.el6.i686.rpm
rpm -ivh make-3.81-19.el6.i686.rpm
rpm -ivh keyutils-libs-devel-1.4-1.el6.i686.rpm
rpm -ivh libcom_err-devel-1.41.12-7.el6.i686.rpm
rpm -ivh libsepol-devel-2.0.41-3.el6.i686.rpm
rpm -ivh libselinux-devel-2.0.94-5.el6.i686.rpm
rpm -ivh krb5-devel-1.9-9.el6.i686.rpm
rpm -ivh zlib-devel-1.2.3-25.el6.i686.rpm
rpm -ivh openssl-devel-1.0.0-10.el6.i686.rpm
rpm -ivh libXpm-3.5.8-2.el6.i686.rpm
rpm -ivh gd-2.0.35-10.el6.i686.rpm
rpm -ivh freetype-2.3.11-6.el6_0.2.i686.rpm
rpm -ivh libxml2-2.7.6-1.el6.i686.rpm
rpm -ivh libxml2-devel-2.7.6-1.el6.i686.rpm
rpm -ivh curl-7.19.7-26.el6.i686.rpm
rpm -ivh libjpeg-devel-6b-46.el6.i686.rpm
rpm -ivh libjpeg-6b-46.el6.i686.rpm
rpm -ivh libjpeg-static-6b-46.el6.i686.rpm
rpm -ivh libpng-1.2.44-1.el6.i686.rpm
rpm -ivh libpng-devel-1.2.44-1.el6.i686.rpm
rpm -ivh libpng-static-1.2.44-1.el6.i686.rpm
rpm -ivh php-common-5.3.3-3.el6.i686.rpm
rpm -ivh php-gd-5.3.3-3.el6.i686.rpm
rpm -ivh gcc-c++-4.4.5-6.el6.i686.rpm
rpm -ivh ncurses-devel-5.7-3.20090208.el6.i686.rpm
rpm -ivh ncurses-term-5.7-3.20090208.el6.i686.rpm
rpm -ivh ncurses-static-5.7-3.20090208.el6.i686.rpm
rpm -ivh --nodeps perl-Pod-Escapes-1.04-119.el6.i686.rpm
rpm -ivh --nodeps perl-libs-5.10.1-119.el6.i686.rpm
rpm -ivh --nodeps perl-version-0.77-119.el6.i686.rpm
rpm -ivh --nodeps perl-Module-Pluggable-3.90-119.el6.i686.rpm
rpm -ivh --nodeps perl-Pod-Simple-3.13-119.el6.i686.rpm
rpm -ivh --nodeps perl-5.10.1-119.el6.i686.rpm
rpm -ivh autoconf213-2.13-20.1.el6.noarch.rpm
rpm -ivh autoconf-2.63-5.1.el6.noarch.rpm
rpm -ivh automake-1.11.1-1.2.el6.noarch.rpm
rpm -ivh automake14-1.4p6-19.2.el6.noarch.rpm
rpm -ivh automake16-1.6.3-18.el6.1.noarch.rpm
rpm -ivh libtool-ltdl-2.2.6-15.5.el6.i686.rpm
rpm -ivh libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm
rpm -ivh libtool-2.2.6-15.5.el6.i686.rpm
rpm -ivh patch-2.6-6.el6.i686.rpm
rpm -ivh bison-2.4.1-5.el6.i686.rpm
3.其他的工作就是按照正常的安装方式安装。
分享到:
相关推荐
rhel-server-5.1-x86_64-dvd.iso rhel-server-5.2-x86_64-dvd.iso rhel-server-5.3-x86_64-dvd.iso rhel-server-5.4-x86_64-dvd.iso rhel-server-5.5-x86_64-dvd.iso rhel-server-5.6-x86_64-dvd.iso rhel-server-...
rhel-server-6.1-x86_64-dvd.iso rhel-server-6.2-x86_64-dvd.iso rhel-server-6.3-x86_64-dvd.iso rhel-server-6.4-x86_64-dvd.iso rhel-server-6.5-x86_64-dvd.iso rhel-server-6.6-x86_64-dvd.iso rhel-server-...
rhel-server-6.3-i386-dvd.iso 自己收藏了Linux(小红帽)系统的几个ios镜像文件。直接下载安装在虚拟机上。方便大家学习 文件里包含了下载地址。
资源是Redhat7.4镜像文件的云盘链接,包括rhel-server-7.4-x86_64-boot.iso和rhel-server-7.4-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
资源是Redhat7.1镜像文件的云盘链接,包括rhel-server-7.1-x86_64-boot.iso、rhel-server-7.1-x86_64-dvd.iso和supp-server-7.1-rhel-7-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
资源是Redhat7.2镜像文件的云盘链接,包括rhel-server-7.2-x86_64-boot.iso和rhel-server-7.2-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
rhel-server-7.1-x86_64-dvd.iso文件
### Linux系统:rhel-server-5.4-i386-dvd.iso #### 知识点一:RHEL(Red Hat Enterprise Linux)介绍 RHEL是Red Hat公司开发的一款广泛使用的Linux发行版,专为企业环境设计。它提供了一个稳定、可靠、安全的操作...
rhel-server-7.0-x86_64-dvd 操作系统 网盘下载地址 确保资源可用
资源是Redhat7.3镜像文件的云盘链接,包括rhel-server-7.3-x86_64-boot.iso和rhel-server-7.3-x86_64-dvd.iso 仅供学习交流,严禁用于商业用途,请于24小时内删除
rhel-server-6.3-i386-dvd.iso 网盘下载地址 确保资源可用
greenplum-db(oopen-source-greenplum-db-6.19.0-rhel7-x86_64.rpm), Greenplum是全球首个开源、多云大数据平台。2019年被Gartner列为全球十大经典和实时数据分析产品中唯一开源数据库。
根据提供的文件信息,“rhel-server-6.8-x86_64-dvd.iso”,我们可以了解到这是一款Red Hat Enterprise Linux(RHEL)6.8版本的64位服务器操作系统镜像文件。接下来,我们将深入探讨与该镜像文件相关的几个重要知识...
greenplum-db-6.0.0-beta.7-rhel7-x86_64.zip 包含greenplum-db-6.0.0-beta.7-rhel7-x86_64.rpm 安装包,以及安装依赖包: ... 软件包 rsync.x86_64.0.3.1.2-6.el7_6.1 将被 安装 --> 解决依赖关系完成
rhel-server-6.7-x86_64-dvd.iso 64位网盘下载,安装客户端,即可下载,百度网盘下载 rhel-server-6.7-x86_64-dvd.iso 64位网盘下载
标题中的“rhel-8.0-x86_64-linuxprobe.com.iso.rar”表明这是一个针对RHEL(Red Hat Enterprise Linux)8.0版本的ISO镜像文件的压缩包。RHEL是由Red Hat公司发行的企业级Linux操作系统,以其稳定性和安全性著称。...
[红帽Linux企业版.5(5CD带序列号)].rhel-5-server-i386
mariadb-10.5.10-rhel-7-x86_64-rpms.tar
redis-stack-server-7.2.0-v9.arm64.snap redis-stack-server-7.2.0-v9.bionic.arm64.tar.gz redis-stack-server-7.2.0-v9.bionic.x86_64.tar.gz ...redis-stack-server-7.2.0-v9.rhel7/8/9.x86_64.tar.gz