Go Back   Linux Forums by TotalPenguin! Get linux Help! > GUI Linux > Linux Applications

Linux Applications Discussion for Linux Software and Application releated issues.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-21-2008, 07:32 PM
Senior Member
 
Join Date: Jan 2007
Posts: 109
Hektor is on a distinguished road
Default PHP Compile Error

When I try to compile PHP I get this error:

configure: error: xml2-config not found. Please check your libxml2 installation.

I then do apt-get install libxml2 (which works) and still get the error. Anyone know what I need to install? There is no libxml2-devel package (at least it does not find one).
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-29-2008, 02:10 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 390
Tor is on a distinguished road
Default

Try:

Code:
# apt-get install libxml2-dev
It should find that, if not you may need to update your repos.
Reply With Quote
  #3 (permalink)  
Old 11-10-2008, 03:03 PM
Member
 
Join Date: Jul 2008
Posts: 61
tecktalk is on a distinguished road
Default

Yes this would work surely..
Reply With Quote
  #4 (permalink)  
Old 11-11-2008, 04:37 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

You need the development packages as Tor suggests. Install that and PHP should work.
Reply With Quote
  #5 (permalink)  
Old 11-17-2008, 05:59 PM
Super Moderator
 
Join Date: Apr 2008
Posts: 19
John is on a distinguished road
Default

I just had the same problem, and this solution worked for me. However, since I was compiling php with mysql, I also kept getting this error:
Code:
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
To fix that I simply did a
Code:
sudo apt-get install libmysqlclient-dev
and it worked fine
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 11-18-2008, 02:36 PM
Senior Member
 
Join Date: Jan 2007
Posts: 109
Hektor is on a distinguished road
Default

Thanks guys! That worked fine.
Reply With Quote
Reply

Tags
libxml2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to compile source kernel raammadala Linux Hardware 4 11-29-2008 02:19 PM
ModSec error Wanch Linux Web Server 2 08-20-2008 01:06 PM
GPG Error Prog Linux General 2 08-18-2008 01:01 PM
Apt-Get Error HappyUser Linux Applications 0 08-13-2008 02:34 PM


All times are GMT. The time now is 03:40 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.