469,927 Members | 1,832 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

Installation Problem w/libxml2

I'm trying to install PHP 5.1.2 on Fedora 4. Everything on configure
goes ok until this:

checking libxml2 install dir... /usr/lib
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2
installation.

Here's my configure line: ./configure
--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-libxml-dir=/usr/lib

I've discovered that libxml2 is installed in /usr/lib, but I can't find
the xml2-config file either. Find and locate say it doesn't exist.

I get the same results with or without the --with-libxml-dir parameter
entered or not.

Any suggestions?

Scott

Mar 30 '06 #1
1 4270
On Wed, 2006-03-29 at 21:23 -0500, Scott wrote:
I'm trying to install PHP 5.1.2 on Fedora 4. Everything on configure
goes ok until this:

checking libxml2 install dir... /usr/lib
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2
installation.

Here's my configure line: ./configure
--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-libxml-dir=/usr/lib

I've discovered that libxml2 is installed in /usr/lib, but I can't find
the xml2-config file either. Find and locate say it doesn't exist.

I get the same results with or without the --with-libxml-dir parameter
entered or not.

Any suggestions?

Scott


Got it. I just needed to install libxml2-devel.

Apr 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Rene Olsthoorn | last post: by
2 posts views Thread by John MacLeod | last post: by
reply views Thread by ankit | last post: by
2 posts views Thread by Henry | last post: by
1 post views Thread by cesar.ortiz | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.