Skip to content

Instantly share code, notes, and snippets.

@lukmdo
Created March 9, 2010 13:41
Show Gist options
  • Save lukmdo/326574 to your computer and use it in GitHub Desktop.
Save lukmdo/326574 to your computer and use it in GitHub Desktop.
Gearman install instructions (Perl)
1. First get libevent as it is required by next step. In case you have it jump to the next step
http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
tar -xzvf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable/
./configure
make
make install
2. Get C source and build Gearman
wget http://launchpad.net/gearmand/trunk/0.12/+download/gearmand-0.12.tar.gz
tar -xzvf ./gearmand-0.12.tar.gz
cd gearmand-0.12
./configure; # OR PASS IT --libdir=LIBDIR
make
make install
3. Get Perl modules from cpan:
sudo cpan Gearman::Server Gearman::Client Gearman::XS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment