php.net |  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
 [2006-04-27 04:29 UTC] oeriksson at mandriva dot com
Description:
------------
Hello. 
 
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/main 
-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/include 
-I/home/oden/RPM/BUILD/zip-1.3.0/main 
-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  -fPIC -DPIC 
-o .libs/php_zip.o 
/home/oden/RPM/BUILD/zip-1.3.0/php_zip.c: In function 
'php_zip_object_free_storage': 
/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 
 


Patches

Pull Requests

History

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
http://pecl.php.net/get/zip


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 11 14:01:27 2024 UTC