Getting gearman to install on Ubuntu
Getting the gearman PHP PECL package to build on Ubuntu is problematic with many unaccounted for dependency issues.
I only made a couple changes when following the instructions from JSJoy as I am running Karmic rather than Lucid I changed the apt-get sources to:
deb http://ppa.launchpad.net/gearman-developers/ppa/ubuntu karmic main deb-src http://ppa.launchpad.net/gearman-developers/ppa/ubuntu karmic main
My sources file was also located at /etc/apt/sources.list and not /etc/sources.list as stated in the original post from JSJoy.