Created
July 26, 2012 15:57
-
-
Save chorrell/3182892 to your computer and use it in GitHub Desktop.
Install gearmand-0.33 on smartos64 1.6.3 SmartMachine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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