error en apache (./configure )

Forums: 

Hola foro, tengo una máquina virtual a ésta se le instaló xubuntu 6.10 (uname -r = 2.6.17-10-generic) le estoy instalando nagios 2.6; pero dice el manual de isntalación de éste último que es necesario apache y httpd; por lo que intento instalar apache pero me marca el siguiente error de configuración:

ivanmendoza@ubuntu-001:/etc/httpd-2.2.3$ sudo ./configure --prefix=/etc/httpd-2.2.3/
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
ivanmendoza@ubuntu-001:/etc/httpd-2.2.3$

las últimas lineas dicen que no se pudieron generar los ejecutables...,

checking for C compiler default output file name... configure: error: C compiler cannot create executables

me podrían ayudar de favor para localizar lo que me falta, gracias.

Chequeaste el "config.log" a

Imagen de deathUser

Chequeaste el "config.log" a ver que más te dice ...
No se si el ubuntu para proteger al usuario te pone alguna restricción de creación de ejecutables al gcc, que es lo que dice el error, por otro lado, no puedes instalar el apache desde los repositrios de internet con apt, aptitude, etc ...

O necesitas compilarlo a como de lugar ...???

bye
:)