I am having configure problems with red hat 8 and sablotron. I have expat and sablotron 0.97 intalled from rpm. I looks like a conflict between gcc 2.8 and 3.2, but I don't know how to get around it. Has anyone seen this before?
when I go to compile php 4.3.1 --enable-xslt --with-xslt-sablot I get this error (works no problem without the xslt flags): checking whether to enable XML support... yes checking external libexpat install dir... yes checking for XMLRPC-EPI support... no checking libexpat dir for XMLRPC-EPI... no checking iconv dir for XMLRPC-EPI... no checking whether to enable xslt support... yes checking for XSLT Sablotron backend... yes checking for libexpat dir for Sablotron XSL support... yes checking for iconv dir for Sablotron XSL support... yes checking for JavaScript for Sablotron XSL support... yes checking for Sablotron libraries in the default path... found in /usr/local checking for sablot-config... found checking for Sablotron version... configure: error: Sablotron version 0.96 or greater required. this is from config.log configure:71260: checking whether to enable XML support configure:71306: checking external libexpat install dir configure:71951: checking for XMLRPC-EPI support configure:71997: checking libexpat dir for XMLRPC-EPI configure:72022: checking iconv dir for XMLRPC-EPI configure:73484: checking whether to enable xslt support configure:73530: checking for XSLT Sablotron backend configure:73555: checking for libexpat dir for Sablotron XSL support configure:73580: checking for iconv dir for Sablotron XSL support configure:73605: checking for JavaScript for Sablotron XSL support configure:73859: checking for Sablotron libraries in the default path configure:73875: checking for sablot-config configure:73893: checking for Sablotron version configure:73918: gcc -o conftest -g -O2 -I/usr/local/include -lstdc++ -Wl,-rpath,/usr/local/etc/lib -L/usr/local/etc/lib -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql conftest.c -lpspell -lpanel -lncurses -lmysqlclient -lsybdb -lttf -lpng -lz -ljpeg -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lxml2 -lz -lm 1>&5 cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory configure: failed program was: #line 73900 "configure" #include "confdefs.h" #include <stdlib.h> #include <sablot.h> int main () { double version; version = atof(SAB_VERSION); if (version >= 0.96) { exit(0); } exit(255); } -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php