php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59076 fails to make
Submitted: 2010-02-19 11:14 UTC Modified: 2010-02-19 11:45 UTC
From: bill at devtemple dot com Assigned: jluedke (profile)
Status: Closed Package: gearman (PECL)
PHP Version: 5.2.12 OS: CentOS 5.4
Private report: No CVE-ID: None
 [2010-02-19 11:14 UTC] bill at devtemple dot com
Description:
------------
Attempting to install fails on "make". Using gearmand-0.12.

Reproduce code:
---------------
# ./configure
# make

Expected result:
----------------
make to complete without error

Actual result:
--------------
# make
/bin/sh /usr/local/src/gearman-0.6.0/libtool --mode=compile cc  -I. -I/usr/local/src/gearman-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/gearman-0.6.0/include -I/usr/local/src/gearman-0.6.0/main -I/usr/local/src/gearman-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2 -Wall   -c /usr/local/src/gearman-0.6.0/php_gearman.c -o php_gearman.lo 
mkdir .libs
 cc -I. -I/usr/local/src/gearman-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/gearman-0.6.0/include -I/usr/local/src/gearman-0.6.0/main -I/usr/local/src/gearman-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -c /usr/local/src/gearman-0.6.0/php_gearman.c  -fPIC -DPIC -o .libs/php_gearman.o
/usr/local/src/gearman-0.6.0/php_gearman.c:910: error: expected specifier-qualifier-list before ?gearman_st?
/usr/local/src/gearman-0.6.0/php_gearman.c: In function ?zm_startup_gearman?:
/usr/local/src/gearman-0.6.0/php_gearman.c:4491: error: ?GEARMAN_ALLOCATED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4491: error: (Each undeclared identifier is reported only once
/usr/local/src/gearman-0.6.0/php_gearman.c:4491: error: for each function it appears in.)
/usr/local/src/gearman-0.6.0/php_gearman.c:4500: error: ?GEARMAN_CON_ALLOCATED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4518: error: ?GEARMAN_CON_STATE_ADDRINFO? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4521: error: ?GEARMAN_CON_STATE_CONNECT? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4524: error: ?GEARMAN_CON_STATE_CONNECTING? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4527: error: ?GEARMAN_CON_STATE_CONNECTED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4533: error: ?GEARMAN_CON_SEND_STATE_PRE_FLUSH? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4536: error: ?GEARMAN_CON_SEND_STATE_FORCE_FLUSH? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4539: error: ?GEARMAN_CON_SEND_STATE_FLUSH? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4542: error: ?GEARMAN_CON_SEND_STATE_FLUSH_DATA? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4545: error: ?GEARMAN_CON_RECV_STATE_NONE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4548: error: ?GEARMAN_CON_RECV_STATE_READ? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4554: error: ?GEARMAN_PACKET_ALLOCATED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4557: error: ?GEARMAN_PACKET_COMPLETE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4560: error: ?GEARMAN_PACKET_FREE_DATA? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4686: error: ?GEARMAN_TASK_ALLOCATED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4689: error: ?GEARMAN_TASK_SEND_IN_USE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4728: error: ?GEARMAN_JOB_ALLOCATED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4731: error: ?GEARMAN_JOB_ASSIGNED_IN_USE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4734: error: ?GEARMAN_JOB_WORK_IN_USE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4737: error: ?GEARMAN_JOB_FINISHED? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4827: error: ?GEARMAN_WORKER_FUNCTION_PACKET_IN_USE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4830: error: ?GEARMAN_WORKER_FUNCTION_CHANGE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4833: error: ?GEARMAN_WORKER_FUNCTION_REMOVE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4836: error: ?GEARMAN_WORKER_WORK_STATE_GRAB_JOB? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4839: error: ?GEARMAN_WORKER_WORK_STATE_FUNCTION? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4842: error: ?GEARMAN_WORKER_WORK_STATE_COMPLETE? undeclared (first use in this function)
/usr/local/src/gearman-0.6.0/php_gearman.c:4845: error: ?GEARMAN_WORKER_WORK_STATE_FAIL? undeclared (first use in this function)
make: *** [php_gearman.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-19 11:45 UTC] contact at jamesluedke dot com
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.

more bug fixes to come before release, but trunk should now build against 0.12
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 22:01:32 2024 UTC