ID:               21543
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Informix related
 Operating System: All
 PHP Version:      4.3.0
 New Comment:

sorry, it seems that i had a problem submitting the answer a few days
ago.

here is the version info from out RH8 linux box:
# $INFORMIXDIR/bin/esql -V
IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.UC2
Software Serial Number RDS#.....


Previous Comments:
------------------------------------------------------------------------

[2003-01-09 19:55:28] [EMAIL PROTECTED]

What is the output of 'esql -V' for you to require this?
The version detection works fine here..
(and what OS? Is it GNU sed you have there?)


------------------------------------------------------------------------

[2003-01-09 06:26:59] [EMAIL PROTECTED]

lvarchars are not supported, because 'ext/informix/config.m4' gets a
wrong version number from 'esql -V'.
So HAVE_IFX_IUS is not set.

with this patch the problem should be solved:

--- php-4.3.0/ext/informix/config.m4.org        2003-01-09
11:15:07.000000000 +0100
+++ php-4.3.0/ext/informix/config.m4    2003-01-09 11:15:11.000000000
+0100
@@ -44,7 +44,7 @@
   esac

   AC_MSG_CHECKING([Informix version])
-  IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1
s/^[^0-9]*\([0-9]\)\.\([0-9]*\).*/\1\2/p'`]
+  IFX_VERSION=[`$INFORMIXDIR/bin/esql -V | sed -ne '1 s/^.*Version
\([0-9]\)\.\([0-9]*\).*$/\1\2/p'`]
   AC_MSG_RESULT($IFX_VERSION)
   AC_DEFINE_UNQUOTED(IFX_VERSION, $IFX_VERSION, [ ])




Oliver


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21543&edit=1

Reply via email to