ID: 29131
Comment by: sheltren at cs dot ucsb dot edu
Reported By: james dot robinson at netregistry dot com dot au
Status: Open
Bug Type: Compile Failure
Operating System: Debian Stable
PHP Version: 5.0.0
New Comment:
I receive the same error during compile on Fedora Core 2.
I can paste the configure options if needed, although, like the initial
report, configure exited cleanly without reporting any errors.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 03:46:05] james dot robinson at netregistry dot com dot au
Description:
------------
Compile fails with the following:
gcc -Iext/exif/ -I/usr/src/php/php-5.0.0/ext/exif/ -DPHP_ATOM_INC
-I/usr/src/php/php-5.0.0/include -I/usr/src/php/php-5.0.0/main
-I/usr/src/php/php-5.0.0 -I/usr/local/include
-I/usr/src/php/php-5.0.0/Zend -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/c-client
-I/usr/src/php/php-5.0.0/ext/mbstring/oniguruma
-I/usr/src/php/php-5.0.0/ext/mbstring/libmbfl
-I/usr/src/php/php-5.0.0/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql
-I/usr/include/postgresql -I/usr/src/php/php-5.0.0/TSRM -g -O2 -c
/usr/src/php/php-5.0.0/ext/exif/exif.c -o ext/exif/exif.o && echo >
ext/exif/exif.lo
In file included from
/usr/src/php/php-5.0.0/ext/mbstring/php_mbregex.h:28,
from
/usr/src/php/php-5.0.0/ext/mbstring/mbstring.h:77,
from /usr/src/php/php-5.0.0/ext/exif/exif.c:76:
/usr/src/php/php-5.0.0/ext/mbstring/oniguruma/oniguruma.h:573:
redefinition of `struct re_registers'
make: *** [ext/exif/exif.lo] Error 1
Configure:
./configure \
--prefix=/usr/local/php-5.0.0 \
--with-regex=system \
--enable-calendar \
--with-iodbc \
--with-dom \
--with-curl \
--with-openssl \
--with-iconv \
--enable-filepro \
--enable-ftp \
--with-gettext \
--enable-sysvsem \
--enable-sysvshm \
--disable-debug \
--with-gd \
--with-imap=/usr \
--with-ldap=/usr \
--with-mm=/usr \
--with-mysql=/usr \
--with-pcre-regex=/usr \
--with-pgsql=/usr \
--enable-sockets \
--with-zlib \
--enable-memory-limit \
--enable-fastcgi \
--with-pear \
--enable-mbstring \
--enable-shmop \
--enable-exif \
--enable-bcmath \
--enable-safe-mode \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-xpm-dir=/usr \
--enable-xslt \
--with-xslt \
--with-xslt-sablot \
--with-mhash \
--with-mcrypt=/usr \
--without-tsrm-pthreads \
--with-tsrm-pth \
--enable-wddx \
--disable-shared \
--with-freetype-dir=/usr/lib \
--with-fastcgi=/usr/local
Configure does not return any errors.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29131&edit=1