Linux - SoftwareThis 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
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.
I'm a newbie trying to install PHP 5. I used apt to install libxml2, but when I try to configure PHP, it returns the following error...
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2 installation.
When I run locate libxml2, I can see the following...
/var/cache/apt/archives/libxml2-dev_2.4.19-4woody1_i386.deb
/var/cache/apt/archives/libxml2_2.4.19-4woody1_i386.deb
/var/lib/dpkg/info/libxml2.list
/var/lib/dpkg/info/libxml2.postrm
This Post was useful. I got the same problem with php-5.0.0RC2 on Debian SID. I just needed to download and install libxml2 with standard configuration: (./configure) and it worked !
pentium:~/download/libxml2-2.6.5# ./configure
<ETC>
pentium:~/download/libxml2-2.6.5# make
-bash: make: command not found
pentium:~/download/libxml2-2.6.5# make test
-bash: make: command not found
pentium:~/download/libxml2-2.6.5# make install
-bash: make: command not found
pentium:~/download/libxml2-2.6.5#
Very useful thread... I give 10 out of 10. Sammy22, that was the first thing i did..to download the rpm and install it but that doesn't work. You have to get .tar.gz and install it i guess.... Thanks ridertech.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.