From: jesse at eonstreet dot com
Operating system: Linx Red Hat Enterprise 3 AS
PHP version: 5.0.1
PHP Bug Type: Compile Failure
Bug description: --enable mbstring fails on "make" but no configure "error"
Description:
------------
Hello,
This bug has been reported on other os and other PHP 5 versions but I
feel it is benifical to report it on all versions and os in case one
version is patched and the others aren't
I have configured php with 'enable-mbstring' and it configures fine. But
upon MAKE it fails. I am not sure how the exif and mbstring extensions
are related but they complied fine whith 4.3.8.
I have downloaded the most recent "snapshot" from sept 5 and copied the
files for exif and mbstring but I receive the same error.
gcc -Iext/exif/ -I/root/php-5.0.1/ext/exif/ -DPHP_ATOM_INC
-I/root/php-5.0.1/include -I/root/php-5.0.1/main -I/root/php-5.0.1
-I/root/php-5.0.1/Zend -I/usr/include/libxml2 -I/usr/kerberos/include
-I/usr/include/freetype2 -I/usr/include/imap
-I/root/php-5.0.1/ext/mbstring/oniguruma
-I/root/php-5.0.1/ext/mbstring/libmbfl
-I/root/php-5.0.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql
-I/usr/include/ncurses -I/usr/include/pspell -I/root/php-5.0.1/TSRM -g
-O2 -c /root/php-5.0.1/ext/exif/exif.c -o ext/exif/exif.o && echo >
ext/exif/exif.lo
In file included from /root/php-5.0.1/ext/mbstring/php_mbregex.h:28,
from /root/php-5.0.1/ext/mbstring/mbstring.h:77,
from /root/php-5.0.1/ext/exif/exif.c:76:
/root/php-5.0.1/ext/mbstring/oniguruma/oniguruma.h:573: redefinition of
`struct re_registers'
make: *** [ext/exif/exif.lo] Error 1
--
Edit bug report at http://bugs.php.net/?id=29989&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29989&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29989&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29989&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29989&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29989&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29989&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29989&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29989&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29989&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29989&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29989&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29989&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29989&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29989&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29989&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29989&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29989&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29989&r=float