Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/08/2009, 11:57
Bb-7
 
Fecha de Ingreso: diciembre-2008
Ubicación: San Sebastián
Mensajes: 15
Antigüedad: 15 años, 4 meses
Puntos: 0
Error al instalar php5 (falta libxml2...)

Hola a todos.
Veréis tengo un servidor web apache2.x.x corriendo en un linux ubuntu. Y hace cinco minutos he intentado instalar php 5.3.0. Para ello, he descargado el paquete de la web, lo he descomprimido, y lo he instalado con el siguiente comando:
/php5# ./configure --with-mysql --with-zlib --enable-sockets --with-apxs2=/usr/local/apache2/bin/apxs
He hecho el mismo intento varias veces, pero siempre me da el mismo error al final:

Código:
...
Configuring extensions
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... 
configure: error: xml2-config not found. Please check your libxml2 installation.
/php5#
He comprobado que libxml2 está instalado; es más, lo actualizé con apt-get upgrade libxml2, y después reinicié el sistema, y me seguía dando el mismo error una y otra vez.

Espero impaciente vuestra ayuda, gracias de antemano.