Skip to content

Instantly share code, notes, and snippets.

@chorrell
Created July 26, 2012 15:57
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 chorrell/3182892 to your computer and use it in GitHub Desktop.
Save chorrell/3182892 to your computer and use it in GitHub Desktop.
Install gearmand-0.33 on smartos64 1.6.3 SmartMachine
curl -OLk https://launchpad.net/gearmand/trunk/0.33/+download/gearmand-0.33.tar.gz
tar xvf gearmand-0.33.tar.gz
cd gearmand-0.33
pkgin -y install libevent boost-headers boost-libs gcc-compiler gmake curl
export CFLAGS='-m64 -I/opt/local/include'
export CPPFLAGS='-I/opt/local/include -D_REENTRANT -I/usr/include'
export CXXFLAGS='-m64 -L/opt/local/lib/amd64'
export LDFLAGS='-m64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib/amd64'
./configure --enable-dtrace --disable-libpq --with-sqlite3=no --disable-libmemcached --disable-libtokyocabinet --prefix=/opt/local --build=x86_64-sun-solaris2.11 --host=x86_64-sun-solaris2.11 --mandir=/opt/local/man
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment