PHP libxslt error while compiling

PHP libxslt error while compiling

Posted by: Vorpal Bunny
Posted on: 2004-08-01 14:26:00

Howdy,

I am having trouble compiling PHP5 as per the instructions on https://panel.dreamhost.com/kbase/index.cgi?area=2538

I followed the instructions on: http://www.pointbeing.net/howto/index.php/installphp5/

I got to libxslt and downloaded, unpacked and configured libxslt as as it says to do in the instructions but I received error “Warning: Missing libxml2-python checking for libgcrypt-config… no configure: Crypto extensions will not be available. Install libgcrypt and reconfigure to make available. Enabling debugger checking for libxml libraries >= 2.6.8… configure: error: Version 2.4.19 found. You need at least libxml2 2.6.8 for this version of libxslt”



Re: PHP libxslt error while compiling

Posted by: Mark
Posted on: 2004-08-05 19:33:00

It sounds like libxml2 is either not installed or the configure script can't find it.

Looking at those instructions, wherever it says "--prefix=/usr/local/", you'll have to change that to something like "--prefix=$HOME/usr".

Then, when you're compiling libxslt, you give it the same directory: "--with-libxml-prefix=$HOME/usr". Then it should be able to find libxml2, and it will compile correctly.

That's my best guess...

Tags: cgi areaphpdreamhostlibxml2libxmlphp5howdyhttpspythonenablinglibrarieshttp