Bug #68302 [Fbk->NoF]: impossible to compile php with zip support

From: Date: Sun, 10 Jul 2016 04:22:36 +0000
Subject: Bug #68302 [Fbk->NoF]: impossible to compile php with zip support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202162@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68302&edit=1

 ID:               68302
 Updated by:       php-bugs@lists.php.net
 Reported by:      0kaba0 at gmail dot com
 Summary:          impossible to compile php with zip support
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Compile Failure
 Operating System: Centos 6.5
 PHP Version:      5.6.2
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2016-06-28 18:41:34] cmb@php.net

> error: #error unsupported size of off_t

I wonder to what SIZEOF_OFF_T is defined. See main/php_config.h.

------------------------------------------------------------------------
[2016-05-24 05:52:04] nulash2010cool at gmail dot com

I also have the same error.. Pls help.

My specification: CentOs 6.5, MySQL 5.6.30 Apache 2.4.20 Php 5.6.21

The line i used to configure:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/usr/local/mysql/bin/mysql_config
--with-pdo-mysql=/usr/local/mysql/

Output obtained:
/usr/local/src/php/php-5.6.21/ext/dom/node.c:1901: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/node.c:1907: undefined reference to
`xmlOutputBufferGetContent'
ext/dom/.libs/documenttype.o: In function `dom_documenttype_internal_subset_read':
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetContent'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
/usr/local/src/php/php-5.6.21/ext/dom/documenttype.c:214: undefined reference to
`xmlOutputBufferGetSize'
ext/simplexml/.libs/simplexml.o: In function `zim_simplexml_element_asXML':
/usr/local/src/php/php-5.6.21/ext/simplexml/simplexml.c:1428: undefined reference to
`xmlOutputBufferGetContent'
/usr/local/src/php/php-5.6.21/ext/simplexml/simplexml.c:1428: undefined reference to
`xmlOutputBufferGetSize'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

------------------------------------------------------------------------
[2016-03-16 18:12:00] michael dot duelm at giata dot de

Compilation also fails with 5.6.18 and 5.6.19

./php-5.6.18/ext/zip/lib/zipint.h:118:2: error: #error unsupported size of off_t
make: *** [ext/zip/lib/zip_add.lo] Error 1

'./configure' \
'--with-libdir=lib64' \
'--with-jpeg-dir' \
'--enable-ftp' \
'--with-mysql=/usr/local/mysql' \
'--with-mysqli=/usr/local/mysql/bin/mysql_config' \
'--enable-pdo' \
'--with-pdo-mysql=/usr/local/mysql' \
'--with-pdo-sqlite' \
'--with-pdo-firebird=shared,/opt/firebird' \
'--with-libxml-dir=/usr/local/lib' \
'--enable-soap' \
'--with-zlib' \
'--disable-cgi' \
'--with-gd' \
'--with-xsl' \
'--with-mcrypt=/usr/lib' \
'--with-openssl' \
'--enable-mbstring' \
'--enable-mbregex' \
'--with-interbase=shared,/opt/firebird' \
'--enable-zip' \
'--enable-bcmath'

------------------------------------------------------------------------
[2015-09-10 04:39:43] ax at jentian dot com

Remove --with-pdo-pgsql  pass.

------------------------------------------------------------------------
[2015-06-02 11:05:40] ScullyZ at posteo dot net

Oh, I think, I have found the right of exist of this T. Embarrassing ... for me. Realy.

This T is perhaps a testflag and exists, because of libtool crashes bevor line 1449 ... But now
I'm wondering, why it's work.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=68302


--
Edit this bug report at https://bugs.php.net/bug.php?id=68302&edit=1


Thread (18 messages)

« previous php.bugs (#202162) next »