Bug #73943 [NEW]: Problem when configuring with zip support
| From: | pedro dot galan at camara dot es | Date: | Mon, 16 Jan 2017 08:13:40 +0000 |
| Subject: | Bug #73943 [NEW]: Problem when configuring with zip support | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-206656@lists.php.net to get a copy of this message | ||
From: pedro dot galan at camara dot es
Operating system: RHEL5
PHP version: 5.6.29
Package: *Configuration Issues
Bug Type: Bug
Bug description:Problem when configuring with zip support
Description:
------------
When enabling ZIP Support (enable-zip):
./configure '--prefix=/usr/local/php537' '--with-apxs2'
'--with-config-file-path=/usr/local/php537/lib' '--disable-debug'
'--disable-rpath' '--enable-inline-optimization' '--with-curl'
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext'
'--with-iconv' '--with-pcre-regex' '--with-zlib'
'--enable-bcmath'
'--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-wddx'
'--with-pear' '--with-kerberos' '--with-ldap' '--with-mysql'
'--with-mysqli' '--with-pgsql'
'--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar'
'--enable-mbstring' '--enable-mbregex' '--enable-pcntl'
'--with-gd'
'--with-jpeg-dir=/usr/lib' '--enable-soap' '--with-mcrypt'
'--with-xsl=/usr/lib' '--with-imap' '--with-imap-ssl'
'--enable-zip'
'--with-libzip=/usr/local' '--with-pdo-mysql'
'--with-freetype-dir=/usr'
'--with-openssl' '--enable-opcache=no'
I get following error:
checking for zip archive read/writesupport... yes
checking pcre install prefix... no
checking libzip... /usr/local
checking for the location of zlib... /usr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libzip... from option: found in /usr/local
checking for zip_open in -lzip... yes
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for ssize_t... yes
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of off_t... 0
configure: error: off_t undefined; check your library configuration
--
Edit bug report at https://bugs.php.net/bug.php?id=73943&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73943&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73943&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73943&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73943&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73943&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73943&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73943&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73943&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73943&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73943&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73943&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73943&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73943&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73943&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73943&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73943&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73943&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73943&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73943&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73943&r=mysqlcfg