Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

FreeBSD: php 5.3.2 configure error: xml2-config not found. Please check your libxml2 installation.
https://forum.ivorde.com/freebsd-php-5-3-2-configure-error-xml2-config-not-found-please-check-your-libxml2-installation-t107.html
Page 1 of 1

Author:  debuser [ Thu Jul 22, 2010 1:41 pm ]
Post subject:  FreeBSD: php 5.3.2 configure error: xml2-config not found. Please check your libxml2 installation.

To fix this behavior:

The error was:
Quote:
.........
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/local
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
===> Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/php5/work/php-5.3.2/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/php5.




Code:
make install clean PREFIX=/opt/php-5.3.2 CONFIGURE_ARGS="--with-libxml-dir=/opt/php-5.3.2"

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/