php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59523 Installation fails on ubuntu
Submitted: 2010-11-24 07:53 UTC Modified: 2011-08-20 07:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: chris dot de dot kok at gmail dot com Assigned:
Status: No Feedback Package: gearman (PECL)
PHP Version: 5.3.2 OS: Ubuntu 10.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
36 + 21 = ?
Subscribe to this entry?

 
 [2010-11-24 07:53 UTC] chris dot de dot kok at gmail dot com
Description:
------------
Installing does not work on ubuntu..


In file included from 
/tmp/pear/temp/gearman/php_gearman.c:24:
/usr/include/libgearman/gearman.h:28:19: error: event.h: No 
such file or directory
/tmp/pear/temp/gearman/php_gearman.c: In function 
?zm_startup_gearman?:
/tmp/pear/temp/gearman/php_gearman.c:4467: error: 
?GEARMAN_VERBOSE_NEVER? undeclared (first use in this 
function)
/tmp/pear/temp/gearman/php_gearman.c:4467: error: (Each 
undeclared identifier is reported only once
/tmp/pear/temp/gearman/php_gearman.c:4467: error: for each 
function it appears in.)
make: *** [php_gearman.lo] Error 1
ERROR: `make' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-17 05:11 UTC] lucky at the-luckyduck dot de
You have to install libevent-dev to solve that issue. 
However, you'll probably run into another issue. That one is 
related to the "older" gearman version (0.10) , I think:

libtool: compile:  cc -I. -I/tmp/pear/temp/gearman -
DPHP_ATOM_INC -I/var/tmp/pea                                                                                                                               
r-build-root/gearman-0.7.0/include -I/var/tmp/pear-build-
root/gearman-0.7.0/main                                                                                                                                
-I/tmp/pear/temp/gearman -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/in                                                                                                                               
clude/php5/TSRM -I/usr/include/php5/Zend -
I/usr/include/php5/ext -I/usr/include/                                                                                                                               
php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -Wall -c 
/tmp/pear/temp/gearman/php_gea                                                                                                                               
rman.c  -fPIC -DPIC -o .libs/php_gearman.o
/tmp/pear/temp/gearman/php_gearman.c: In function 
?zm_startup_gearman?:
/tmp/pear/temp/gearman/php_gearman.c:4467: error: 
?GEARMAN_VERBOSE_NEVER? undecl                                                                                                                               
ared (first use in this function)
/tmp/pear/temp/gearman/php_gearman.c:4467: error: (Each 
undeclared identifier is                                                                                                                                
reported only once
/tmp/pear/temp/gearman/php_gearman.c:4467: error: for each 
function it appears i                                                                                                                               
n.)
make: *** [php_gearman.lo] Fehler 1
ERROR: `make' failed




installed packages/versions:
ii  gearman                               0.10-2                                          
ii  gearman-job-server                    0.10-2                                          
ii  gearman-server                        1.11-1                                          
ii  gearman-tools                         0.10-2                                          
ii  libgearman-client-perl                1.09-1                                          
ii  libgearman-dev                        0.10-2                                          
ii  libgearman-server-dev                 0.10-2                                          
ii  libgearman-server0                    0.10-2                                          
ii  libgearman2                           0.10-2
 [2011-05-15 02:58 UTC] hradtke@php.net
Did installing libevent-dev resolve the issue?
 [2011-08-20 07:43 UTC] hradtke@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 16 03:03:32 2021 UTC