473,699 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4446
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
4019
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 your setup.py scipt, please). Thanks in advance, Rene O.
0
2961
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 (command line). Read through the installation guides from xmlsoft.org.
2
1728
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... <start quote> Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/home/MYACCOUNT/libxml configure: error: libxml2 version 2.5.10 or greater required. <end quote>
0
876
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 this reason it gives me following error: -- gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -I. -I/usr/local/include/libxml2 -I/usr/include/python2.2 -c libxml_domlib.c -o build/temp.linux-i686-2.2/libxml_domlib.o...
2
2266
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++ (4.1.0) 3) Perl5-32 (D.5.8.3.D, The 32 Bit Perl Programming Language with Extensions)
1
4124
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 consumption rises till the process ends (I check it with the 'top' command). I don´t know if I am forgetting something in the code, as I have not been able to find any example on the web.
1
2354
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 using the python that comes with cygwin. When I try using ActivePython (2.3) or Python IDLE (2.5) there does not seem to be a libxml2 module there. I thought libxml2 was a std python module.
6
4544
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 libxml2 parser in SHIFT-JIS format. The following error is thrown by libxml2 -
2
1532
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 Python.org website on plain old Windoze XP Pro.
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.