php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29131 Compile fails on exif if mbstring is present
Submitted: 2004-07-14 03:46 UTC Modified: 2005-02-01 22:55 UTC
Votes:16
Avg. Score:3.9 ± 1.0
Reproduced:15 of 15 (100.0%)
Same Version:9 (60.0%)
Same OS:3 (20.0%)
From: james dot robinson at netregistry dot com dot au Assigned: moriyoshi (profile)
Status: No Feedback Package: EXIF related
PHP Version: 5.0.0 OS: *
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-07-14 03:46 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-18 20:36 UTC] smgallo at buffalo dot edu
I am experiencing the same problem with php 5.0.1 on RedHat Enterprise 3 AS.
 [2004-09-09 10:22 UTC] bt at addix dot net
I am experiencing the same problem with php 5.0.1 on RedHat 9.
I tried to compile it using gcc 3.3.3 with glibc 2.3.3.
 [2004-12-21 07:45 UTC] sniper@php.net
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-12-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 28 03:01:27 2020 UTC