bighairydog
tail-wagging member
Hi there gurus,
I'm trying to compile PHP 5 (beta 2), for my general enlightenment and the goodness of my soul. I have got it working fine without XML, but this means I must lose all the best extensions that rely on XML (simpleXML, WDDX, PEAR - I can't live without them!)
So I've installed and compiled libxml2 from fink, at version 2.5.10, which places a file at /sw/lib/libxml2.2.5.10.dylib. I assume this is the file that needs to be included when compiling PHP.
When compiling PHP I get this:
I've tried '--with-libxml-dir=/sw/' or '--with-libxml-dir=/sw/lib/libxml2.2.5.10.dylib' and neither of them work any better.
How do I get the configure script to recognise my libxml installation?
many thanks,
Bernie )
I'm trying to compile PHP 5 (beta 2), for my general enlightenment and the goodness of my soul. I have got it working fine without XML, but this means I must lose all the best extensions that rely on XML (simpleXML, WDDX, PEAR - I can't live without them!)
So I've installed and compiled libxml2 from fink, at version 2.5.10, which places a file at /sw/lib/libxml2.2.5.10.dylib. I assume this is the file that needs to be included when compiling PHP.
When compiling PHP I get this:
Code:
[sumption@G4] php-5.0.0b2/ $ ./configure --with-apxs --with-libxml-dir=/sw/lib/
[i]... snip out 100 lines of configure messages[/i]
checking libxml2 install dir... /sw/lib/
configure: error: libxml2 version 2.5.10 or greater required.
How do I get the configure script to recognise my libxml installation?
many thanks,
Bernie )