From:             morten-bugs dot php dot net at afdelingp dot dk
Operating system: *
PHP version:      4.3.4
PHP Bug Type:     *Compile Issues
Bug description:  outdated Sablotron dependency

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 bug report at http://bugs.php.net/?id=26560&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26560&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26560&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26560&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26560&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26560&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26560&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26560&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26560&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26560&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26560&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26560&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26560&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26560&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26560&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26560&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26560&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26560&r=float

Reply via email to