ID: 26560
Updated by: [EMAIL PROTECTED]
Reported By: morten-bugs dot php dot net at afdelingp dot dk
-Status: Open
+Status: Bogus
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: *
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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