I\'m trying to install Gearman with PHP Extension to use it with PHP-CLI.
I have a Debian 6.0.5 with php5-cli and php-pear installed.
php5-cli
php-pear
For Debian, you should try this line:
sudo apt-get install libgearman2
instead of:
sudo apt-get install libgearman-dev
http://www.masnun.com/2011/09/30/installing-and-getting-started-with-gearman.html