Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
well, basically, whenever i try to install php 5.0.5, ./configure errors out with:
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.
'find / | grep xml2-config' returns nothing, and when i do 'apt-get install libxml2', it says that it is already installed, with the latest version....so...whats going on??
I'm running Debian linux in case you haven't already figured that out
thx
Click here to see the post LQ members have rated as the most helpful post in this thread.
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
If it still doesn't , try the other applications which search and install all the depencies for you.
Code:
aptitude
Code:
synaptic
Still all of them doesn't work , I'd suggest you sould read this paper for the post-install debian configuration. In this papers you can find some programs which are related to depencies problem:
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..
php5 isn't a valid package for apt-get, but i'm not sure if i wnt it either...does it install with mysql?
I'd have though it would be there somewhere, maybe its in unstable or testing and it would definately have mysql support enabled.
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.
well, basically, whenever i try to install php 5.0.5, ./configure errors out with:
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.
'find / | grep xml2-config' returns nothing, and when i do 'apt-get install libxml2', it says that it is already installed, with the latest version....so...whats going on??
I'm running Debian linux in case you haven't already figured that out
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.