Edit report at https://bugs.php.net/bug.php?id=64336&edit=1
ID: 64336 Updated by: c...@php.net Reported by: stuart at stuartherbert dot com Summary: [ZOOKEEPER] extension does not compile against PHP 5.4 -Status: Open +Status: Closed Type: Bug Package: PECL Operating System: Ubuntu 12.10 PHP Version: 5.4.12 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This has been reported for zookeeper 0.2.1, but 0.2.2 claims PHP 5.4 compatibility[1], so this issue appears to have been resolved long ago. [1] <https://pecl.php.net/package-changelog.php?package=zookeeper&release=0.2.2> Previous Comments: ------------------------------------------------------------------------ [2013-04-02 13:30:12] shuimuqingshu at gmail dot com I resolve this problem. may be this is a php bug. here is the code: https://github.com/JeremyWei/php-zookeeper ------------------------------------------------------------------------ [2013-03-02 12:40:12] stuart at stuartherbert dot com Description: ------------ Compile error when attempting to compile the PECL extension 'Zookeeper' against PHP 5.4. The problem is that it uses an old API to initialise the Zookeeper zend_class_entry. Test script: --------------- phpize ./configure --enable-zookeeper make Expected result: ---------------- I expect the PECL extension to compile Actual result: -------------- libtool: compile: cc -I/usr/include/php5 -I. -I/tmp/pear/temp/zookeeper - DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root7GuWXy/zookeeper-0.2.1/include - I/tmp/pear/temp/pear-build-root7GuWXy/zookeeper-0.2.1/main - I/tmp/pear/temp/zookeeper -I/usr/include/php5 -I/usr/include/php5/main - I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -I/usr/include/zookeeper -DHAVE_CONFIG_H -g -O2 - c /tmp/pear/temp/zookeeper/php_zookeeper.c -fPIC -DPIC -o .libs/php_zookeeper.o /tmp/pear/temp/zookeeper/php_zookeeper.c: In function 'php_zk_new': /tmp/pear/temp/zookeeper/php_zookeeper.c:718:45: error: 'zend_class_entry' has no member named 'default_properties' make: *** [php_zookeeper.lo] Error 1 ERROR: `make' failed ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64336&edit=1 -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php