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
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:
MUST BE VALID
Solve the problem:
6 + 29 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 02:01:29 2024 UTC