ID: 29888 Updated by: [EMAIL PROTECTED] Reported By: alietss at yahoo dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Fedora Core 2 PHP Version: 5.0.1 New Comment:
Do never use that option if you don't know what you're doing. (see the disclaimer when you do ./configure --help). Previous Comments: ------------------------------------------------------------------------ [2004-08-31 02:00:23] alietss at yahoo dot com Tested with http://snaps.php.net/php5-STABLE-latest.tar.gz , but the error is still there, I changed --with-regex=system \, with --with-regex, and it worked... Regards ------------------------------------------------------------------------ [2004-08-30 08:18:53] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-08-30 06:33:48] alietss at yahoo dot com 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 this bug report at http://bugs.php.net/?id=29888&edit=1