LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2004, 11:00 PM   #1
CrotchCricket
LQ Newbie
 
Registered: Oct 2004
Location: Los Angeles, CA
Distribution: Fedora Core
Posts: 12

Rep: Reputation: 0
problem configureing php


Ok I'm having a bit of trouble compiling php when i use the ./configure command for php-5.0.2.

I think i need libxml2 but i cant seem to find that program anywhere.

Code:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2 installation.[mike@localhost php-5.0.2]$
 
Old 10-26-2004, 01:38 AM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Hello!

Code:
rpm -qa | grep libxml2
This will search for libxml2 if it's installed by RPM. If it's there use:
Code:
whereis libxml2
Then when you compile PHP5 use:
Code:
./configure --with-libxml2-dir=/usr/lib/
for example.

If it's not installed, you can find it here . Also you need the devel, from here .

Hope this helped!
Boby
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configureing postfix cbekannan Linux - Software 2 01-21-2005 06:04 AM
Configureing OpenBSD to use bash by default Pizentios Linux - Software 4 09-13-2004 08:36 AM
Configureing linux on a laptop SonKun Linux - Laptop and Netbook 4 08-20-2003 07:23 PM
Configureing my kernel MRK Linux - Software 3 07-06-2003 09:21 PM
configureing my wireless card LordGrahf Linux - Wireless Networking 2 06-27-2003 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration