#30868 [NEW]: PHP Fails to compile when mbstring is enabled
| From: | touv at ouvaton dot org | Date: | Tue, 23 Nov 2004 07:45:09 +0000 |
| Subject: | #30868 [NEW]: PHP Fails to compile when mbstring is enabled | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69357@lists.php.net to get a copy of this message | ||
From: touv at ouvaton dot org
Operating system: HP-UX 11
PHP version: 5.0.2
PHP Bug Type: Compile Failure
Bug description: PHP Fails to compile when mbstring is enabled
Description:
------------
% export CC=cc
% export CFLAGS="-O +DS2.0 +DA2.0W"
% ./configure --with-libxml-dir=/usr/local/libs/libxml2-2.6.9-64
--enable-mbstring
(...)
% make
(...)
cc -DNOT_RUBY -DHAVE_CONFIG_H -Iext/mbstring/
-I/tmp/php-5.0.2/ext/mbstring/ -DPHP_ATOM_INC -I/tmp/php-5.0.2/include
-I/tmp/php-5.0.2/main -I/tmp/php-5.0.2 -I/tmp/php-5.0.2/Zend
-I/usr/local/libs/libxml2-2.6.9-64/include/libxml2
-I/usr/local/libs/libiconv-1.9.1-64/include
-I/tmp/php-5.0.2/ext/mbstring/oniguruma
-I/tmp/php-5.0.2/ext/mbstring/libmbfl
-I/tmp/php-5.0.2/ext/mbstring/libmbfl/mbfl -I/usr/include
-I/usr/include/X11 -I/usr/contrib/include -I/usr/contrib/include/X11
-I/usr/local/libs/zlib-1.1.4-64/include
-I/usr/local/libs/libxml2-2.6.9-64/include -I/tmp/php-5.0.2/TSRM -w -O
+DS2.0 +DA2.0W -c /tmp/php-5.0.2/ext/mbstring/php_mbregex.c -o
ext/mbstring/php_mbregex.o && echo > ext/mbstring/php_mbregex.lo
cc: "/tmp/php-5.0.2/ext/mbstring/php_mbregex.c", line 488: error 1649:
Illegal integer-pointer combination for <.
cc: "/tmp/php-5.0.2/ext/mbstring/php_mbregex.c", line 488: error 1563:
Expression in if must be scalar.
*** Error exit code 1
--
Edit bug report at http://bugs.php.net/?id=30868&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30868&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30868&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30868&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30868&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30868&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30868&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30868&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30868&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30868&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30868&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30868&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30868&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30868&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30868&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30868&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30868&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30868&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30868&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30868&r=mysqlcfg