#30868 [Asn->Csd]: PHP Fails to compile when mbstring is enabled
| From: | moriyoshi@php.net | Date: | Mon, 21 Feb 2005 10:20:36 +0000 |
| Subject: | #30868 [Asn->Csd]: PHP Fails to compile when mbstring is enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77002@lists.php.net to get a copy of this message | ||
ID: 30868
Updated by: moriyoshi@php.net
Reported By: touv at ouvaton dot org
-Status: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: HP-UX 11
PHP Version: 5.0.2
Assigned To: moriyoshi
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-11-23 08:45:08] touv at ouvaton dot org
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 this bug report at http://bugs.php.net/?id=30868&edit=1