By Adriano Schmidt
hello,
I’m trying install apache http server version 2.2.22.
I downloaded the file httpd-2.2.22.tar.bz2.
I unzipped this file..
When I type “./configure”, the following error occurs:
[root@SERVER_JBOSS_235 httpd-2.2.22]# ./configure –prefix=/opt/work/apache2.2.22
checking for chosen layout… Apache
checking for working mkdir -p… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library …
checking for APR… reconfig
configuring package in srclib/apr now
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p… yes
APR Version: 1.4.5
checking for chosen layout… apr
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/opt/work/httpd-2.2.22/srclib/apr’:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
configure failed for srclib/apr
[root@SERVER_JBOSS_235 httpd-2.2.22]#
trying install the gcc (gcc-4.8.0-1.fc19.x86_64.rpm) the following error occurs:
[root@SERVER_JBOSS_235 installers]# rpm -ivh gcc-4.8.0-1.fc19.x86_64.rpm
warning: gcc-4.8.0-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fb4b18e6
error: Failed dependencies:
binutils >= 2.20.51.0.2-12 is needed by gcc-4.8.0-1.fc19.x86_64
cpp = 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
glibc-devel >= 2.2.90-12 is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libgcc >= 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
libgmp.so.10()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libgomp = 4.8.0-1.fc19 is needed by gcc-4.8.0-1.fc19.x86_64
libmpc.so.3()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
libmpfr.so.4()(64bit) is needed by gcc-4.8.0-1.fc19.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by gcc-4.8.0-1.fc19.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by gcc-4.8.0-1.fc19.x86_64
What can I do?
I’m using Red Hat Enterprise Linux 5.8.
Thanks!!
Adriano Schmidt
From: http://www.unix.com/unix-dummies-questions-answers/221113-configue.html