|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56984 build error
Submitted: 2006-04-27 04:29 UTC Modified: 2006-04-27 13:19 UTC
From: oeriksson at mandriva dot com Assigned: pajoye (profile)
Status: Closed Package: zip (PECL)
PHP Version: 5.1.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 4 = ?
Subscribe to this entry?

 [2006-04-27 04:29 UTC] oeriksson at mandriva dot com
I get some build errors on Mandriva Linux (Cooker), 
zip-1.2.3 builds fine. I build it against an external 
shared libzip. 
phpize; ./configure; make 
/bin/sh /home/oden/RPM/BUILD/zip-1.3.0/libtool 
--mode=compile gcc  -I. -I/home/oden/RPM/BUILD/zip-1.3.0 
-DPHP_ATOM_INC -I/home/oden/RPM/BUILD/zip-1.3.0/include 
-I/home/oden/RPM/BUILD/zip-1.3.0 -I/usr/include/php 
-I/usr/include/php/main -I/usr/include/php/TSRM 
-I/usr/include/php/Zend -I/usr/include/php/ext  
-DHAVE_CONFIG_H  -g -O2   
-c /home/oden/RPM/BUILD/zip-1.3.0/php_zip.c -o php_zip.lo 
mkdir .libs 
 gcc -I. -I/home/oden/RPM/BUILD/zip-1.3.0 -DPHP_ATOM_INC 
-I/home/oden/RPM/BUILD/zip-1.3.0 -I/usr/include/php 
-I/usr/include/php/main -I/usr/include/php/TSRM 
-I/usr/include/php/Zend -I/usr/include/php/ext 
-c /home/oden/RPM/BUILD/zip-1.3.0/php_zip.c  -fPIC -DPIC 
-o .libs/php_zip.o 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c: In function 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c:464: error: 
'struct _ze_zip_object' has no member named 'std' 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c:465: error: 
'struct _ze_zip_object' has no member named 'std' 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c:469: error: 
'struct _ze_zip_object' has no member named 'std' 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c:470: error: 
'struct _ze_zip_object' has no member named 'std' 
make: *** [php_zip.lo] Error 1 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-27 04:48 UTC] pierre dot php at gmail dot com
Please try using the cvs version (only php_zip.c is affected).

Also note that I do not support external libzip. I should work as the bundled one tries to be an exact copy, but it  contains fixes that are not yet available in a libzip releases, or specific to php. What's the reason to use an external libzip?
 [2006-04-27 13:19 UTC] pierre dot php at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 25 09:03:34 2022 UTC