I am trying to compile Apache 2.2.3 on a Slackware 10.2 OS. When I start ./configure, I get this:
Quote:
root@slack:~/httpd-2.2.3# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring APR library
Platform: i686-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version: 1.2.7
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
|
I think that this issue is very usual but is nowhere documented how to solve this... If you can, please help me. I have been fighting with this already for 4 hours. I found out that kernel-headers and glibc-devel packages have to be installed. I reinstalled my linux machine, I installed the kernel-headers package, but I didnt find glibc-devel anywhere...
Your help would be very appreciated. Thanks.