Skip to content

Instantly share code, notes, and snippets.

@appleboy
Created October 1, 2013 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appleboy/6774735 to your computer and use it in GitHub Desktop.
Save appleboy/6774735 to your computer and use it in GitHub Desktop.
install gearmand
install_gearmand() {
# aptitude -y install libboost-program-options-dev gperf libcloog-ppl0 libpq-dev libmemcached-dev libevent-dev
# install mariadb header file
# aptitude -y install libmariadbclient-dev
[ -f /tmp/libdrizzle-5.1.4.tar.gz ] || wget https://launchpad.net/libdrizzle/5.1/5.1.4/+download/libdrizzle-5.1.4.tar.gz -O /tmp/libdrizzle-5.1.4.tar.gz
[ -d /tmp/libdrizzle-5.1.4 ] && rm -rf /tmp/libdrizzle-5.1.4
[ -f /tmp/gearmand-1.1.9.tar.gz ] || wget https://launchpad.net/gearmand/1.2/1.1.9/+download/gearmand-1.1.9.tar.gz -O /tmp/gearmand-1.1.9.tar.gz
[ -d /tmp/gearmand-1.1.9 ] && rm -rf /tmp/gearmand-1.1.9
cd /tmp && tar xvfz libdrizzle-5.1.4.tar.gz && cd libdrizzle-5.1.4 && ./configure --prefix=/usr && make && make install
cd /tmp && tar xvfz gearmand-1.1.9.tar.gz && cd gearmand-1.1.9 && ./configure --prefix=/usr && make && make install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment