xml2-config not found, can't install php
well, basically, whenever i try to install php 5.0.5, ./configure errors out with:
Code:
Configuring extensions I'm running Debian linux in case you haven't already figured that out ;) thx |
Possibly another depencie(s) are affecting your installation process. To ensure the depenceis you can use different programs.
Firstly try to apt-get to install php 5.0.5 Code:
apt-get install php5 Code:
aptitude Code:
synaptic http://www.linuxquestions.org/questi...hreadid=224547 |
i'm trying to install it from the site... this is the download
php5 isn't a valid package for apt-get, but i'm not sure if i wnt it either...does it install with mysql? (it shouldn't use --without-mysql in the configure command...) the php that came with apache2 was configured without mysql so now i cant use php to connect to my mysql database, until i reinstall it...then it will hopefully work.. |
Quote:
Anyway have you tried install libxml2-devel or something like that? If you're compiling something it needs the -devel version of that package as well as the package itself. |
hi,
I'd like to know how did you solve the problem, because I have the same problem. I'm using this sources in apt-get: deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all Tks |
I was having the same problem, so I installed libxml2-dev. Did the trick!
|
Suse, same problem
Same fix worked, different installer lingo:
yast --install libxml2-devel |
Quote:
How can i install libxml2-dev in a SUN Solaris 5.8? And where do i download the correct version for this SO? I found this version: ftp://ftp.sunfreeware.com/pub/freewa...sparc-local.gz, is it compatible with my SO Version? |
Yep! I'm running SuSE 10.2 and installing libxml2-devel fixed it!
|
Quote:
apt-get install libxml2-dev y corre nuevamente el ./configure |
Between installing libxml2-dev and libmysqlclient-dev (see http://www.linuxquestions.org/questi...-files-230651/) I was able to get PHP 5.5.9 running. Thanks!
|
Im running ubuntu 8.04 and libxml2-dev fixed it for me too! Thanks @dmbaguley
|
Oracle Enterprise Linux - up2date libxml-devel fixed
In Oracle Enterprise Linux
up2date libxml-devel fixed the problem. |
All times are GMT -5. The time now is 10:10 AM. |