Edit report at https://bugs.php.net/bug.php?id=64336&edit=1
ID: 64336
Comment by: shuimuqingshu at gmail dot com
Reported by: stuart at stuartherbert dot com
Summary: PECL-Zookeeper extension does not compile against
PHP 5.4
Status: Open
Type: Bug
Package: PECL
Operating System: Ubuntu 12.10
PHP Version: 5.4.12
Block user comment: N
Private report: N
New Comment:
I resolve this problem. may be this is a php bug.
here is the code: https://github.com/JeremyWei/php-zookeeper
Previous Comments:
------------------------------------------------------------------------
[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