bhalpin Posted October 10, 2008 Share Posted October 10, 2008 Hi all. I'm a bit of a newbie, but getting there ... This is a new NetBSD 4.0 box, and I have Apache and MySQL installed and working. My problem is PHP. After downloading and extracting the source, I: cd /usr/local/src/php-5.2.5 ./configure --prefix=/usr/local/php --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/local/apache2/bin/apxs And got tjis result: . . . Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. Google turned up a partial answer: install libxml2-devel I used pkg_add to install libxml2, but I could not find any libxml2-devel package on NetBSD.org. ./configure still fails I found xml2-config in /usr/pkg/bin, and in the PHP configure script I see a switch to specify the path. So I added --with-libxml-dir=/usr/pkg/bin to the configure args. configure now say's: Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/pkg/bin checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. That's a bit different - but it still can't find xml2-config. I can't figure out where to go from here. (And I'm going blind trying to decifer the PHP configure file.) Thanks (a lot!) in advance. Bob Link to comment https://forums.phpfreaks.com/topic/127801-configure-error-on-netbsd-40-with-libxml2-dirusrpkgbin/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.