Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Jun 02, 2023 4:44 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - FreeBSD: php 5.3.2 configure error: xml2-config not found. Please check your libxml2 installation.
Author Message
Post subject: FreeBSD: php 5.3.2 configure error: xml2-config not found. Please check your libxml2 installation.  |  Post Posted: Thu Jul 22, 2010 1:41 pm
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"
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO