In 4.0.6 Sablot and xslt got a few new options and some old ones was taken away, some of the options I really don't understand the difference of. I am trying this configure string:
./configure \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-trans-sid \
--enable-iodbc=/usr/local \
--enable-ftp \
--enable-sockets \
--enable-calendar \
--with-zlib \
--with-dom \
--with-expat-dir=/usr/local \
--with-sablot \
--enable-xslt \
--with-xslt-sablot \
--with-gd \
--with-curl \
--with-mhash \
--with-mcrypt \
--with-pdflib=/usr/local/lib \
--enable-memory-limit \
--with-mcal=/home/stoker/dl/libmcal
and configure goes thru ok, but the compile fails with this error:
/bin/sh /home/stoker/dl/php-4.0.6/libtool --silent --mode=link gcc -I. -I/home/stoker/dl/php-4.0.6/ -I/home/stoker/dl/php-4.0.6/main -I/home/stoker/dl/php-4.0.6 -I/usr/local/apache/include -I/home/stoker/dl/php-4.0.6/Zend -I/usr/local/include -I/home/stoker/dl/libmcal -I/home/stoker/dl/php-4.0.6/ext/mysql/libmysql -I/home/stoker/dl/php-4.0.6/TSRM -DLINUX=22 -DMOD_SSL=208102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 -g -O2 -o libphp4.la -rpath /home/stoker/dl/php-4.0.6/libs -avoid-version -L/usr/local/lib -L/home/stoker/dl/libmcal -R /usr/local/lib -R /home/stoker/dl/libmcal stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/calendar/libcalendar.la ext/curl/libcurl.la ext/domxml/libdomxml.la ext/ftp/libftp.la ext/gd/libgd.la ext/mcal/libmcal.la ext/mcrypt/libmcrypt.la ext/mhash/libmhash.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/posix/libposix.la ext/sablot/libsablot.la ext/session/libsession.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/xml/libxml.la ext/xslt/libxslt.la TSRM/libtsrm.la -ldl -lexpat -lexpat -lsablot -lexpat -lexpat -lexpat -lsablot -lmhash -lmcrypt -lltdl -lmcal -lgd -lz -lxml2 -lcurl -ldl -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv
ext/xslt/.libs/libxslt.al(sablot.lo): In function php_if_xslt_create':
/home/stoker/dl/php-4.0.6/ext/xslt/sablot.c(.text+0x74): multiple definition ofphp_if_xslt_create'
ext/sablot/.libs/libsablot.al(sablot.lo)(.text+0x9dc):/home/stoker/dl/php-4.0.6/ext/sablot/sablot.c: first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_create' changed from 304 to 201 in sablot.lo
And is has the same error for many other functions as well, such as
php_if_xslt_set_error_handler, php_if_xslt_set_base and a couple of others..
Any clue?
The core of it there is
--with-sablot \
--enable-xslt \
--with-xslt-sablot \
and the expat one as well.. whats the difference between xslt and sablot-xslt?