I'm trying to compile lsphp (php 5.2.3) om WestHost's VPS.
I'm following the instructions from http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi
I downloaded the patched PHP package from http://download.medialayer.net/public/
after ./configure I run ./make but get immediately 10's of compilation errors.
It starts with:
etc.
The strange thing is that xml2 is installed and ./configure does find /usr/local/bin/xml2-config
Any pointers on how to get to the next step?
Alternatively a pre-compiled lsphp (5.2.x) (on Linux 2.6.9-42.0.3.ELsmp) would do the trick as well
cheers
--eric.
I'm following the instructions from http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi
I downloaded the patched PHP package from http://download.medialayer.net/public/
after ./configure I run ./make but get immediately 10's of compilation errors.
It starts with:
Code:
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:38:27: libxml/parser.h: No such file or directory
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:39:36: libxml/parserInternals.h: No such file or directory
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:40:25: libxml/tree.h: No such file or directory
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:41:24: libxml/uri.h: No such file or directory
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:42:29: libxml/xmlerror.h: No such file or directory
/home/ictfbe/php-5.2.3/ext/libxml/libxml.c:43:28: libxml/xmlsave.h: No such file or directory
In file included from /home/ictfbe/php-5.2.3/ext/libxml/libxml.c:48:
/home/ictfbe/php-5.2.3/ext/libxml/php_libxml.h:64: error: syntax error before "xmlNodePtr"
The strange thing is that xml2 is installed and ./configure does find /usr/local/bin/xml2-config
Any pointers on how to get to the next step?
Alternatively a pre-compiled lsphp (5.2.x) (on Linux 2.6.9-42.0.3.ELsmp) would do the trick as well
cheers
--eric.