Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What I have tried ...

# apt-get install php5-dev
# apt-get install gearman-job-server libgearman-dev
# pecl install gearman

Result ...

...
configure: error: Please install libgearman
ERROR: `/tmp/pear/temp/gearman/configure' failed

Than I tried ...

# export GEARMAN_LIB_DIR=/usr/include/libgearman
# export GEARMAN_INC_DIR=/usr/include/libgearman
# pecl install gearman

Result ...

...
configure: error: libgearman version 0.21 or later required

Then I tried ...

# wget pecl.php.net/get/gearman-1.1.1.tgz
# tar -zxf gearman-1.1.1.tgz
# cd gearman-1.1.1
# phpize

Result ... same error as in attempt 2

Whats wrong?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Debian 6 only has version 0.13 of Gearman. You either need to upgrade that, or find an older version of the PHP extension. You could try installing the packages from testing.

share|improve this answer
    
Thats it. Thanks. –  Aley Feb 20 '13 at 17:47
    
@mgorven How is it possible to ugrade the version of libgearman on Debian 6? I'm facing the same problem :( –  Matthieu Napoli Apr 5 '13 at 10:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.