Bug #64336 [NEW]: PECL-Zookeeper extension does not compile against PHP 5.4
| From: | stuart at stuartherbert dot com | Date: | Sat, 02 Mar 2013 12:40:12 +0000 |
| Subject: | Bug #64336 [NEW]: PECL-Zookeeper extension does not compile against PHP 5.4 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-10404@lists.php.net to get a copy of this message | ||
From: stuart at stuartherbert dot com
Operating system: Ubuntu 12.10
PHP version: 5.4.12
Package: PECL
Bug Type: Bug
Bug description:PECL-Zookeeper extension does not compile against PHP 5.4
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 bug report at https://bugs.php.net/bug.php?id=64336&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64336&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64336&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64336&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64336&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64336&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64336&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64336&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64336&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64336&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64336&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64336&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64336&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64336&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64336&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64336&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64336&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64336&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64336&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64336&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64336&r=mysqlcfg