From:             james dot robinson at netregistry dot com dot au
Operating system: Debian Stable
PHP version:      5.0.0
PHP Bug Type:     Compile Failure
Bug description:  Compile fails on exif

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 bug report at http://bugs.php.net/?id=29131&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29131&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29131&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29131&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29131&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29131&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29131&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29131&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29131&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29131&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29131&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29131&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29131&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29131&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29131&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29131&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29131&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29131&r=float

Reply via email to