473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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 4429
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Rene Olsthoorn | last post by:
Dear readers, py2exe has a problem including libxml2. Not at building time, but at runtime. The libxml2.dll cannot be loaded... Is there anyone that NOT has the problem? (and can you drop me...
0
by: Kenneth Gomez | last post by:
Hello, I have tried many avenues (web search, borland website, libxml website) before deciding to post here. I'm trying to install libxml2 on windows ME to work with my Borland C++ 5 Compiler...
2
by: John MacLeod | last post by:
I'm trying to install a local copy of php5 and not having much luck. I want LIBXML and IMAP support. When I go to configure php (no matter what options I use) I end up with the error message... ...
0
by: ankit | last post by:
am installing libxml_domlib(1.2a) on linux but when I build it it searches for includes of libxml2 in folder /usr/local/include/libxml2 but libxml2 have includes under /usr/include/libxml2. For...
2
by: Henry | last post by:
Hi all, I tried to install the php-5.1.4 on my server but failed. Kindly please help me. Below are what I have installed: 1) IBM Informix Dynamic Server Version 9.40.FC7 2) GNU_C_C++...
1
by: cesar.ortiz | last post by:
Hi all, I have created an example using libxml2 based in the code that appears in http://xmlsoft.org/python.html. My example processes an enough amount of html files to see that the memory...
1
by: Andrew Marlow | last post by:
guys, I have been using libxml2 with python with no problems for just over a week but now I come to see if my script will work in someone else's environment and the libxml2 import fails. I am...
6
by: saumya.agarwal | last post by:
Hi, I am using libxml2 for xml parsing. When the client application sends data to libxml2 in UTF-8 format, it works fine. But, I have a scenarion in which the client application sends data to...
2
by: MooseMiester | last post by:
I'm looking for a good easy to use forward only XML reader -- the libxml2 looked really good but could not figure out how to install it and/or get it to work. I'm using Python 2.5 from the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.