[Ubuntu-bo] Problema al instalar Apache-2.2.6
Rolando Espinoza La Fuente
darkrho en gmail.com
Mie Jun 18 03:10:12 BST 2008
On Tue, Jun 17, 2008 at 6:11 PM, Karina J. <jc.karina en gmail.com> wrote:
> Alguien puede ayudarme por favor!!!!!
>
> Estoy intentando instalar Apache-2.2.6 en mi máquina q tiene Ubuntu 7.10,
> pero por alguna razón no completa la configuración.
>
> $ ./configure --prefix=/usr/local/apache-2.2.6 --enable-so
>
¿por qué quieres compilar apache? ¿no basta el paquete?
> Y me salió esto:
>
> 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
Si... es lo esperado.
> Configuring Apache Portable Runtime library ...
>
> checking for APR... reconfig
> configuring package in srclib/apr now
> configure: WARNING: Unrecognized options: --enable-so
¿opción "--enable-so" desconocida?
> 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.3.0
> 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
Error en el compilador... ¿tienes compilador gcc? ¿icc? ¿u otro?
>
> Y para colmo:
>
> $make
> make: *** No se especificó ningún objetivo y no se encontró ningún
> makefile. Alto.
Si, tambien comportamiento esprado. ./configure se encarga de crear
el Makefile correspondiente deacuerdo a las opciones que le des....
si no hay Makefile entonces make no tiene nada que hacer ... ;-)
Bueno, el camino más rápido para tener las dependencias de compilación
de apache... es con apt:
$ sudo apt-get install build-essential # gcc y cosas elementales
para compilar
$ sudo apt-get build-dep apache2 # las dependencias de
compilación de apache2
Luego intenta compilar.
Pero deberías tener seguro que no tienes apache2 instalado, sino
podrías tener conflictos y/o confusiones de configuración/ejecutable/librerías.
--
Rolando Espinoza La fuente
Pro Soft Resources Inc.
www.prosoftpeople.com
Más información sobre la lista de distribución Ubuntu-bo