From: alietss at yahoo dot com Operating system: Fedora Core 2 PHP version: 5.0.1 PHP Bug Type: Compile Failure Bug description: Compile Failure due to mbstring error: redefinition of `struct re_registers'
Description: ------------ Hi php team, I'm trying to build rpms of php 5.0.1 on a Fedora Core 2 system, with httpd-2.0.50, but the compile process is failing to a error related to mbstring here my configure line and the error... %configure \ --cache-file=../config.cache \ --with-config-file-path=%{_sysconfdir} \ --with-config-file-scan-dir=%{_sysconfdir}/php.d \ --enable-force-cgi-redirect \ --disable-debug \ --enable-pic \ --disable-rpath \ --enable-inline-optimization \ --with-bz2 \ --with-db4=%{_prefix} \ --with-curl \ --with-exec-dir=%{_bindir} \ --with-freetype-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-gd \ --enable-gd-native-ttf \ --without-gdbm \ --with-gettext \ --with-ncurses \ --with-gmp \ --with-iconv \ --with-jpeg-dir=%{_prefix} \ --with-openssl \ --with-png \ --with-pspell \ --with-regex=system \ --with-xml \ --with-expat-dir=%{_prefix} \ --with-dom=shared,%{_prefix} \ --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \ --with-xmlrpc=shared \ --with-pcre-regex=%{_prefix} \ --with-zlib \ --with-layout=GNU \ --enable-bcmath \ --enable-exif \ --enable-ftp \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-trans-sid \ --enable-yp \ --enable-wddx \ --with-pear=/usr/share/pear \ --with-imap=shared --with-imap-ssl \ --with-kerberos \ --with-ldap=shared \ --with-mysql=shared,%{_prefix} \ %{?_with_oci8:--with-oci8=shared} \ %{?_with_mssql:--with-mssql=shared} \ %{?_with_mhash:--with-mhash=shared} \ --with-pgsql=shared \ --with-snmp=shared,%{_prefix} \ --with-snmp=shared \ --enable-ucd-snmp-hack \ --with-unixODBC=shared,%{_prefix} \ --enable-memory-limit \ --enable-bcmath \ --enable-shmop \ --enable-calendar \ --enable-dbx \ --enable-dio \ --enable-mcal \ --enable-mbstring=shared --enable-mbstr-enc-trans \ --enable-mbregex \ $* make %{?_smp_mflags} } the error... In file included from /usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/php_mbregex.h:28, from /usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/mbstring.h:77, from /usr/src/redhat/BUILD/php-5.0.1/ext/standard/html.c:52: /usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/oniguruma/oniguruma.h:573: error: redefinition of `struct re_registers' make: *** [ext/standard/html.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.73791 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.73791 (%build) Expected result: ---------------- php builds -- Edit bug report at http://bugs.php.net/?id=29888&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29888&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29888&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29888&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29888&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29888&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29888&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29888&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29888&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29888&r=support Expected behavior: http://bugs.php.net/fix.php?id=29888&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29888&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29888&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29888&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29888&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29888&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29888&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29888&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29888&r=float