I'm trying to install Gearman on a clean out of the box 10.04 server using the following commands:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
sudo apt-get update
sudo apt-get install gearman-job-server libgearman2 libgearman-dev uuid-dev php5-dev
sudo pecl install channel://pecl.php.net/gearman-0.7.0
I've added the following to my /etc/apt/sources.list:
deb http://ppa.launchpad.net/gearman-developers/ppa/ubuntu lucid main
But I get the following error after I run the apt-get install:
Reading package lists… Done
Building dependency tree
Reading state information… Done
uuid-dev is already the newest version.
php5-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gearman-job-server: Depends: libdrizzle1 (>= 2010.10.01) but it is not installable
E: Broken packages
Any help would be greatly appreciated.
UPDATE:
It seems I was able to install libdrizzle with the following instructions:
sudo apt-add-repository ppa:drizzle-developers/ppa
sudo apt-get update
sudo apt-get install libdrizzle1
After this I was able to install Gearman, however, I was unable to install the PECL module. The module seems to be no longer supported. I was able to install it like this:
wget http://pecl.php.net/get/gearman-0.7.0.tgz
tar -xvfz gearman-0.7.0.tgz
cd gearman-0.7.0
./configure
make
sudo make install
More information on this page: http://gearman.org/index.php?id=gearman_php_extension


