Skip to content

Instantly share code, notes, and snippets.

@atl
Created March 24, 2011 12:49
Show Gist options
  • Save atl/885000 to your computer and use it in GitHub Desktop.
Save atl/885000 to your computer and use it in GitHub Desktop.
HOWTO: compile and install redis on a no.de machine as of 2011-03-24
mkdir ~/sw
cd ~/sw
wget http://pkgsrc.joyent.com/2010Q3/All/gcc44-4.4.4nb1.tgz
pfexec pkg_add gcc44-4.4.4nb1.tgz
export PATH="$PATH:/opt/local/gcc44/bin"
pkgin in binutils
wget --no-check-certificate https://github.com/antirez/redis/tarball/2.2.2
gtar xvf antirez-redis-2.2.2-0-g048c0f0.tar.gz
cd antirez-redis-b96f325/
CC=gcc gmake
pfexec gmake PREFIX=/opt/local install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment