From: systemadministrator at internet dot lu Operating system: SuSE Linux 9.3 PHP version: 4.4.1 PHP Bug Type: XSLT related Bug description: configure thinks in conjunction with java that sablot 1.0.1 is older than 0.96
Description: ------------ always when i try to configure php with java, it exits saying: checking for Sablotron libraries in the default path... found in /usr checking for sablot-config... found checking for Sablotron version... configure: error: Sablotron version 0.96 or greater required. but i do have installed 1.0.1 on SuSE 9.3 : newsrv:~/install/php-4.4.1 # /usr/bin/sablot-config --version 1.0.1 newsrv:~/install/php-4.4.1 # Reproduce code: --------------- ./configure --enable-force-cgi-redirect --without-mm --enable-fastcgi --prefix=/var/fastcgi/php4.1.1 \ --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar \ --with-curl --with-dom --with-dom-xslt --with-dom-exslt \ --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir \ --with-zlib-dir --with-freetype-dir --with-iconv \ --with-imap --with-imap-ssl --enable-mbstring --with-mcal=/usr \ --with-mcrypt --with-mhash --with-unixODBC=/usr --with-swf=/usr/lib/libswf \ --enable-wddx --enable-xml --enable-xslt --with-xslt-sablot --with-zip \ --with-pear --enable-memory-limit --enable-zend-multibyte \ --with-mysql --with-pgsql --with-java=/usr/java/jdk1.5.0_06 When i dont use java, there is no sablot error message: ./configure --enable-force-cgi-redirect --without-mm --enable-fastcgi --prefix=/var/fastcgi/php4.1.1 \ --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar \ --with-curl --with-dom --with-dom-xslt --with-dom-exslt \ --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir \ --with-zlib-dir --with-freetype-dir --with-iconv \ --with-imap --with-imap-ssl --enable-mbstring --with-mcal=/usr \ --with-mcrypt --with-mhash --with-unixODBC=/usr --with-swf=/usr/lib/libswf \ --enable-wddx --enable-xml --enable-xslt --with-xslt-sablot --with-zip \ --with-pear --enable-memory-limit --enable-zend-multibyte \ --with-mysql --with-pgsql Expected result: ---------------- the configure script should accept my version and NOT exit with a wrong error message Actual result: -------------- last lines from config.log: configure:94187: checking for Sablotron version configure:94212: gcc -o conftest -g -O2 -I/usr/include -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/java/jd k1.5.0_06/jre/lib/i386/server -L/usr/java/jdk1.5.0_06/jre/lib/i386/server -Wl,-rpath,/usr/java/jdk1.5.0_06/jre/lib/i386 /native_threads -L/usr/java/jdk1.5.0_06/jre/lib/i386/native_threads -Wl,-rpath,/usr/java/jdk1.5.0_06/jre/lib/i386 -L/us r/java/jdk1.5.0_06/jre/lib/i386 -Wl,-rpath,/usr/lib/libswf/lib -L/usr/lib/libswf/lib conftest.c -lswf -lcrypt -lpq -lmh ash -lmcrypt -lltdl -ljava -lssl -lcrypto -lcrypt -lpam -lfreetype -lpng -lz -ljpeg -lexslt -lxml2 -lxslt -lz -lcurl -l bz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lodbc -lcrypt 1>&5 configure: failed program was: #line 94194 "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); } -- Edit bug report at http://bugs.php.net/?id=35640&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35640&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35640&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35640&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35640&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35640&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35640&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35640&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35640&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35640&r=support Expected behavior: http://bugs.php.net/fix.php?id=35640&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35640&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35640&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35640&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35640&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35640&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35640&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35640&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35640&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35640&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35640&r=mysqlcfg