Bug #68302 [NEW]: impossible to compile php with zip support
From: 0kaba0 at gmail dot com
Operating system: Centos 6.5
PHP version: 5.6.2
Package: Compile Failure
Bug Type: Bug
Bug description:impossible to compile php with zip support
Description:
------------
Compilation fails with the error:
/bin/sh /usr/local/src/php-5.6.2/libtool --silent --preserve-dup-deps
--mode=compile cc -Iext/zip/ -I/usr/local/src/php-5.6.2/ext/zip/
-DPHP_ATOM_INC -I/usr/local/src/php-5.6.2/include
-I/usr/local/src/php-5.6.2/main -I/usr/local/src/php-5.6.2
-I/usr/local/src/php-5.6.2/ext/date/lib
-I/usr/local/src/php-5.6.2/ext/ereg/regex -I/opt/xml2/include/libxml2
-I/opt/pcre/include -I/opt/curlssl//include -I/usr/X11
-I/usr/include/freetype2 -I/opt/php_with_imap_client//include
-I/usr/local/src/php-5.6.2/ext/mbstring/oniguruma
-I/usr/local/src/php-5.6.2/ext/mbstring/libmbfl
-I/usr/local/src/php-5.6.2/ext/mbstring/libmbfl/mbfl
-I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/tidy//include
-I/opt/xslt/include -I/opt/xslt//include
-I/usr/local/src/php-5.6.2/ext/zip/lib -I/usr/local/src/php-5.6.2/TSRM
-I/usr/local/src/php-5.6.2/Zend -I/usr/include -g -O2
-fvisibility=hidden -prefer-pic -c
/usr/local/src/php-5.6.2/ext/zip/lib/zip_add.c -o ext/zip/lib/zip_add.lo
In file included from
/usr/local/src/php-5.6.2/ext/zip/lib/zip_add.c:37:
/usr/local/src/php-5.6.2/ext/zip/lib/zipint.h:118:2: error: #error
unsupported size of off_t
make: *** [ext/zip/lib/zip_add.lo] Error 1
Test script:
---------------
./configure \
--prefix=/usr/local/php/5.6 \
--exec-prefix=/usr/local/php/5.6 \
--with-config-file-path=/usr/local/php/5.6 \
--disable-fileinfo \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-gd-native-ttf \
--enable-libxml \
--enable-mbstring \
--enable-soap \
--enable-sockets \
--enable-wddx \
--with-bz2 \
--enable-zip \
--with-curl=/opt/curlssl/ \
--with-freetype-dir=/usr \
--with-gd \
--with-gettext \
--with-imap=/opt/php_with_imap_client/ \
--with-imap-ssl=/usr \
--with-jpeg-dir=/usr \
--with-kerberos \
--with-libdir=lib64 \
--with-libexpat-dir=/usr \
--with-libxml-dir=/opt/xml2 \
--with-libxml-dir=/opt/xml2/ \
--with-mcrypt=/opt/libmcrypt/ \
--with-mysql=/usr \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mysqli=/usr/bin/mysql_config \
--with-openssl=/usr \
--with-openssl-dir=/usr \
--with-pcre-regex=/opt/pcre \
--with-sqlite3=shared \
--enable-pdo=shared \
--with-pdo-mysql=shared \
--with-pdo-sqlite=shared,/usr \
--with-pdo-pgsql=shared \
--with-pgsql=/usr \
--with-pic \
--with-png-dir=/usr \
--with-tidy=/opt/tidy/ \
--with-xmlrpc \
--with-xpm-dir=/usr \
--with-xsl=/opt/xslt/ \
--with-zlib \
--with-zlib-dir=/usr \
--with-iconv \
--enable-cli
Expected result:
----------------
compile without error
Actual result:
--------------
error
--
Edit bug report at https://bugs.php.net/bug.php?id=68302&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68302&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68302&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68302&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68302&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68302&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68302&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68302&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68302&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68302&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68302&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68302&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68302&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68302&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68302&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68302&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68302&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68302&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68302&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68302&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68302&r=mysqlcfg
Thread (18 messages)
- 0kaba0 at gmail dot com
- aharvey@php.netBug #68302 [Opn->Fbk]: impossible to compile php with zip support
- 0kaba0 at gmail dot comBug #68302 [Fbk->Opn]: impossible to compile php with zip support
- avarsanov at yahoo dot comBug #68302 [Com]: impossible to compile php with zip support
- showerheadsuk at hotmail dot comBug #68302 [Com]: impossible to compile php with zip support
- jrpozo at conclase dot netBug #68302 [Com]: impossible to compile php with zip support
- ScullyZ at posteo dot netBug #68302 [Com]: impossible to compile php with zip support
- ScullyZ at posteo dot netBug #68302 [Com]: impossible to compile php with zip support
- ax at jentian dot comBug #68302 [Com]: impossible to compile php with zip support
- michael dot duelm at giata dot deBug #68302 [Com]: impossible to compile php with zip support
- nulash2010cool at gmail dot comBug #68302 [Com]: impossible to compile php with zip support
- cmb@php.netBug #68302 [Opn->Fbk]: impossible to compile php with zip support
- php-bugs at lists dot php dot netBug #68302 [Fbk->NoF]: impossible to compile php with zip support
- pzawora at gmail dot comBug #68302 [Com]: impossible to compile php with zip support
- cmb@php.netBug #68302 [NoF->Opn]: impossible to compile php with zip support
- cmb@php.netBug #68302 [Asn->Csd]: impossible to compile php with zip support
- mtbox74 at gmail dot comBug #68302 [Com]: impossible to compile php with zip support
- cmb@php.netBug #68302 [Csd]: impossible to compile php with zip support