I've managed to compile and install both expat and sablot without any problems, but when I try to recompile PHP, the make generates an error...
Slackware 8.0,
Apache 2.0.39,
Php 4.2.2,
Sablot 0.95,
Expat 1.95.4
Build options are (in short) :
./configure
--enable-xslt
--with-xslt-sablot=/opt/app/sablot-0.95
--with-expat-dir=/opt/app/expat-1.95.4
===---===---===---===---===---===---===---
The error (brief version) is : (higher up) :
===---===---===---===---===---===---===---
sablot.c:130: warning: initialization from incompatible pointer type
sablot.c: In function zif_xslt_process':
sablot.c:512: warning: passing arg 5 ofSablotRunProcessor' from incompatible p
ointer type
===---===---===---===---===---===---===---
The error (brief version) is : (at bottom) :
===---===---===---===---===---===---===---
/opt/src/php-4.2.2/ext/xslt/sablot.c(.rodata+0x8): multiple definition of SXPF_SUPPORTS_UNPARSED_ENTITIES'
main/.libs/libmain.al(internal_functions.lo)(.rodata+0x8):/opt/src/php-4.2.2/main/internal_functions.c: first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory/opt/src/php-4.2.2'
make: *** [all-recursive] Error 1
===---===---===---===---===---===---===---
More complete (larger) error message @ http://web.ineptie.dyndns.org/make.htm