#29131 [Com]: Compile fails on exif

From: Date: Sun, 18 Jul 2004 16:35:54 +0000
Subject: #29131 [Com]: Compile fails on exif
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62584@lists.php.net to get a copy of this message
ID: 29131 Comment by: itsdave101 at yahoo dot com 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 am also having the same problem.... although i am building an rpm on fedora core 1, i have successfully compiled an rpm without mbstring..' i dont personally need mbstring, but i was just trying to build an rpm with all the same options of the php4 rpm that comes with fedora., i can provide src rpm if anyone is interested. ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-expat-dir=/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-pcre=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --without-oci8 --with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos --with-ldap=shared --with-mysql=shared,/usr --with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack --with-unixODBC=shared --enable-memory-limit --enable-bcmath --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mcal --enable-mbstring --enable-force-cgi-redirect Previous Comments: ------------------------------------------------------------------------ [2004-07-16 18:27:18] sheltren at cs dot ucsb dot edu 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#62584) next »