#26560 [Bgs]: outdated Sablotron dependency

From: Date: Tue, 09 Dec 2003 17:27:41 +0000
Subject: #26560 [Bgs]: outdated Sablotron dependency
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51843@lists.php.net to get a copy of this message
ID: 26560 Updated by: sniper@php.net Reported By: morten-bugs dot php dot net at afdelingp dot dk Status: Bogus Bug Type: Compile Failure Operating System: * PHP Version: 4.3.4 New Comment: And FYI: The build does not fail for me with 0.96 Previous Comments: ------------------------------------------------------------------------ [2003-12-09 12:27:08] sniper@php.net You must have mixed header files and libraries of different sablot versions. The SablotGetOptions() was also added in 0.97, and if that is available, so has to be the SAB_FILES_TO_HANDLER option. ------------------------------------------------------------------------ [2003-12-09 09:40:00] morten-bugs dot php dot net at afdelingp dot dk Description: ------------ In php-4.3.4/ext/xslt/config.m4 the Sablotron dependency is on version 0.96, but in php-4.3.4/ext/xslt/sablot.c (line 183) SAB_FILES_TO_HANDLER is used. It was - as far as I can see - introduced in Sablotron 0.97. The build failes with Sablotron 0.96. The following patch fixes the problem: --- php-4.3.4-orig/ext/xslt/config.m4 2003-12-09 15:01:20.000000000 +0100 +++ php-4.3.4/ext/xslt/config.m4 2003-12-09 15:24:00.000000000 +0100 @@ -84,15 +84,15 @@ double version; version = atof(SAB_VERSION); - if (version >= 0.96) { + if (version >= 0.97) { exit(0); } exit(255); } ],[ - AC_MSG_RESULT([>= 0.96]) + AC_MSG_RESULT([>= 0.97]) ],[ - AC_MSG_ERROR([Sablotron version 0.96 or greater required.]) + AC_MSG_ERROR([Sablotron version 0.97 or greater required.]) ]) CPPFLAGS=$old_CPPFLAGS Best regards, Morten Poulsen ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26560&edit=1

« previous php.bugs (#51843) next »