|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61375 [STOMP 1.0.3] install failed
Submitted: 2012-03-13 15:18 UTC Modified: 2012-05-27 07:15 UTC
From: afontaine at efidev dot com Assigned: pierrick (profile)
Status: Closed Package: stomp (PECL)
PHP Version: 5.4.0 OS: Mac os x lion
Private report: No CVE-ID: None
 [2012-03-13 15:18 UTC] afontaine at efidev dot com
1 error generated.
make: *** [php_stomp.lo] Error 1
Nelson-iMac:stomp-1.0.3 nelson$ sudo make 
/bin/sh /private/tmp/pear/install/stomp-1.0.3/libtool --mode=compile cc  -I. -
I/private/tmp/pear/install/stomp-1.0.3 -DPHP_ATOM_INC -
I/private/tmp/pear/install/stomp-1.0.3/include -I/private/tmp/pear/install/stomp-
1.0.3/main -I/private/tmp/pear/install/stomp-1.0.3 -I/usr/include/php -
I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -
I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   
-c /private/tmp/pear/install/stomp-1.0.3/php_stomp.c -o php_stomp.lo 
 cc -I. -I/private/tmp/pear/install/stomp-1.0.3 -DPHP_ATOM_INC -
I/private/tmp/pear/install/stomp-1.0.3/include -I/private/tmp/pear/install/stomp-
1.0.3/main -I/private/tmp/pear/install/stomp-1.0.3 -I/usr/include/php -
I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -
I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c 
/private/tmp/pear/install/stomp-1.0.3/php_stomp.c  -fno-common -DPIC -o 
/private/tmp/pear/install/stomp-1.0.3/php_stomp.c:348:46: error: no member named 
'default_properties' in 'struct _zend_class_entry'
        zend_hash_copy(intern->, &ce->default_properties, 
(copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
                                                ~~  ^


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-14 12:24 UTC]
It would be nice to have more details on the PHP version you're using

 [2012-03-14 12:24 UTC]
-Status: Open +Status: Feedback
 [2012-03-15 15:24 UTC] afontaine at efidev dot com
-Status: Feedback +Status: Open
 [2012-03-15 15:24 UTC] afontaine at efidev dot com
i am sorry, i don't speak english very well and i'd never participated at a php 
bug tracking
My php version is php5.4.0

my conf is :

  --prefix            [/usr]
  --includes          [-I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
  --ldflags           []
  --libs              [  -lz -lexslt -ltidy -lresolv -ledit -lncurses -lpq -lpq -
lldap -llber -liconv -liconv -lcrypto -lssl -lcrypto -lcurl -
lbz2 -lz -lcrypto -lssl -lcrypto -lm  -lxml2 -lz -licucore -lm -lgssapi_krb5 -
lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lz -licucore -lm -lxml2 
-lz -licucore -lm -lnetsnmp -lcrypto -lxml2 -lz -licucore -lm -lxml2 -lz -
licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 
-lz -licucore -lm -lxml2 -lz -licucore -lm -lxslt -lxml2 -lz -licucore -lm ]
  --extension-dir     [/usr/lib/php/extensions/no-debug-non-zts-20100525]
  --include-dir       [/usr/include/php]
  --man-dir           [/usr/share/man]
  --php-binary        [/usr/bin/php]
  --php-sapis         [ apache2handler cli cgi]
  --configure-options [--prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --disable-dependency-tracking --sysconfdir=/private/etc -
-with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-
libxml-dir=/usr --with-openssl=/usr --with-kerberos=/usr --with-
zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --
enable-dba --enable-ndbm=/usr --enable-exif --enable-ftp --with-
ldap=/usr --with-ldap-sasl=/usr --with-libedit=/usr --enable-mbstring --enable-
mbregex --with-mysql=mysqlnd --with-mysqli=mysqlnd --without-pear 
--with-pdo-mysql=mysqlnd --with-mysql-sock=/var/mysql/mysql.sock --with-
readline=/usr --enable-shmop --with-snmp=/usr --enable-soap --enable-
sockets --enable-sqlite-utf8 --enable-sysvmsg --enable-sysvsem --enable-sysvshm -
-with-tidy --enable-wddx --with-xmlrpc --with-iconv-dir=/usr --
with-xsl=/usr --enable-zend-multibyte --enable-zip --with-pcre-regex --with-
pgsql=/usr --with-pdo-pgsql=/usr --with-ldap]
  --version           [5.4.0]
  --vernum            [50400]

I hope it helping you.

 [2012-03-16 08:40 UTC] martin at spuetz dot net
Change line 330 in php_stomp.c to:

 [2012-05-27 07:15 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2012-05-27 07:15 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 23:01:29 2024 UTC