php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59280 Won't compile
Submitted: 2010-06-24 07:32 UTC Modified: 2010-07-10 08:26 UTC
From: joona dot jarvela at gmail dot com Assigned:
Status: Closed Package: dbx (PECL)
PHP Version: 5.3.0 OS: Linux 2.6.32 fc12
Private report: No CVE-ID: None
 [2010-06-24 07:32 UTC] joona dot jarvela at gmail dot com
Description:
------------
This package should be updated or demoted to beta as it won't currently compile with php 5.3. There is even fix for this in SVN but it has not been relesed to PECL. 

Reproduce code:
---------------
pecl install dbx


Expected result:
----------------
Succesfull compilation of the dbx module.


Actual result:
--------------
running: make
/bin/sh /var/tmp/pear-build-root/dbx-1.1.0/libtool --mode=compile cc  -I. -I/var/tmp/dbx -DPHP_ATOM_INC -I/var/tmp/pear-build-root/dbx-1.1.0/include -I/var/tmp/pear-build-root/dbx-1.1.0/main -I/var/tmp/dbx -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 /var/tmp/dbx/dbx.c -o dbx.lo
libtool: compile:  cc -I. -I/var/tmp/dbx -DPHP_ATOM_INC -I/var/tmp/pear-build-root/dbx-1.1.0/include -I/var/tmp/pear-build-root/dbx-1.1.0/main -I/var/tmp/dbx -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 /var/tmp/dbx/dbx.c  -fPIC -DPIC -o .libs/dbx.o
/var/tmp/dbx/dbx.c: In function 'zif_dbx_query':
/var/tmp/dbx/dbx.c:535: error: 'zval' has no member named ?refcount?
/var/tmp/dbx/dbx.c:536: error: 'zval' has no member named ?is_ref?
/var/tmp/dbx/dbx.c: In function 'zif_dbx_fetch_row':
/var/tmp/dbx/dbx.c:609: error: 'val' has no member named ?refcount?
/var/tmp/dbx/dbx.c:610: error: 'zval' has no member named ?is_ref?
make: *** [dbx.lo] Error 1
ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-10 08:26 UTC] hirokawa@php.net
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

same as #17536.
 [2011-03-22 06:15 UTC] bravismore at gmail dot com
Seems this bug has re-surfaced. 

Platform
Linux libcall 2.6.32-22-server #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC 2010 x86_64 GNU/Linux

-------------------------------------
running: make
/bin/bash /var/tmp/pear-build-root/dbx-1.1.0/libtool --mode=compile cc  -I. -I/t                                                                             mp/pear/temp/dbx -DPHP_ATOM_INC -I/var/tmp/pear-build-root/dbx-1.1.0/include -I/                                                                             var/tmp/pear-build-root/dbx-1.1.0/main -I/tmp/pear/temp/dbx -I/usr/include/php5                                                                              -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/us                                                                             r/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -                                                                             c /tmp/pear/temp/dbx/dbx.c -o dbx.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/dbx -DPHP_ATOM_INC -I/var/tmp/pear-bu                                                                             ild-root/dbx-1.1.0/include -I/var/tmp/pear-build-root/dbx-1.1.0/main -I/tmp/pear                                                                             /temp/dbx -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/li                                                                             b -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/dbx/dbx.c  -fPIC -DPIC -o .libs/dbx.o
/tmp/pear/temp/dbx/dbx.c: In function ?zif_dbx_query?:
/tmp/pear/temp/dbx/dbx.c:535: error: ?zval? has no member named ?refcount?
/tmp/pear/temp/dbx/dbx.c:536: error: ?zval? has no member named ?is_ref?
/tmp/pear/temp/dbx/dbx.c: In function ?zif_dbx_fetch_row?:
/tmp/pear/temp/dbx/dbx.c:609: error: ?zval? has no member named ?refcount?
/tmp/pear/temp/dbx/dbx.c:610: error: ?zval? has no member named ?is_ref?
make: *** [dbx.lo] Error 1
ERROR: `make' failed
 [2011-08-08 07:52 UTC] leonard at sirmiles dot nl
Issue still exists on FC15 (php-5.3.6-2.fc15.x86_64). See also bug 16724. Please reopen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC