Skip to content

Instantly share code, notes, and snippets.

@yannick
Created February 16, 2013 16:42
Show Gist options
  • Save yannick/4967611 to your computer and use it in GitHub Desktop.
Save yannick/4967611 to your computer and use it in GitHub Desktop.
brew install autoconf leveldb automake python shtool glog libtool popt #maybe more
prerequisites
git clone https://github.com/rescrv/po6.git
git clone https://github.com/rescrv/busybee.git
git clone https://github.com/rescrv/Replicant.git
wget http://cityhash.googlecode.com/files/cityhash-1.1.0.tar.gz
a fix for os x to current MASTER:
https://github.com/mreiferson/e/commit/5b6b369e8a334675c62232f58d291ea4ded243b0
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing #needed to genereate install-sh
autoconf
./configure
stuff you need to do extra:
rescrv | what happens if you change common/float_encode.cc:35 to: #include "osx/ieee754.h"
yawniek_ | also in daemon/index_encode.cc
rescrv | put http://dropbox.rescrv.net/ax_python_devel.m4 into the m4/ directory of the HyperDex repo
hyperdex configure command:
./configure CXXFLAGS="-O1" --enable-python-bindings LDFLAGS="-I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework" --disable-docs
@nedgonaes
Copy link

Great! Should be cityhash-1.0.3.tar.gz though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment