Skip to content

Instantly share code, notes, and snippets.

@espeed
Last active December 22, 2015 03:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espeed/6407776 to your computer and use it in GitHub Desktop.
Save espeed/6407776 to your computer and use it in GitHub Desktop.
HOWTO Install HyperDex on Fedora 19 - The HyperDex packages in the HyperDex Fedora repo are for Fedora 17, and they don't work on Fedora 19. Here is what you need to do to build and install HyperDex on Fedora 19...
# How to Install HyperDex 1.0x on Fedora 19
# by James Thornton, http://jamesthornton.com
# First ensure you have these Fedora 19 packages installed
sudo yum install git autoconf automake autoconf-archive \
libtool python-devel pyparsing popt-devel \
cityhash-devel gcc-c++ glog-devel leveldb-devel \
bison gperf flex python-sphinx pandoc help2man
# HyperDex doesn't compile with the Cython 0.19-1 in the Fedora 19 repo
# Install Cython 15.1 instead -- that's the version referenced in the docs
wget http://cython.org/release/Cython-0.15.1.tar.gz
tar -xvzf Cython-0.15.1.tar.gz; cd Cython-0.15.1; sudo python setup.py install; cd -
# Clone the required HyperDex repos
git clone https://github.com/rescrv/po6.git
git clone https://github.com/rescrv/e.git
git clone https://github.com/rescrv/busybee.git
git clone https://github.com/rescrv/HyperLevelDB.git
git clone https://github.com/rescrv/Replicant.git
git clone https://github.com/rescrv/HyperDex.git
# Set the pkg-config path to include the location where busybee.pc gets installed
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
# Ensure your /etc/ld.so.conf file includes this line...
# /usr/local/lib
sudo emacs -nw /etc/ld.so.conf
sudo ldconfig
# Configure and Install the HyperDex libraries
cd po6 && autoreconf -i; ./configure; make && sudo make install; cd -
cd e && autoreconf -i; ./configure; make && sudo make install; cd -
cd busybee && autoreconf -i; ./configure; make && sudo make install; cd -
cd HyperLevelDB && autoreconf -i; ./configure; make && sudo make install; cd -
cd Replicant && autoreconf -i; ./configure; make && sudo make install; cd -
cd HyperDex && autoreconf -i; ./configure --enable-python-bindings; make && sudo make install; cd -
# Now you should be able to start the HyperDex Coordinator and continue with the QuickStart
# http://hyperdex.org/doc/03.quickstart/#starting-the-coordinator
hyperdex coordinator -f -l 127.0.0.1 -p 1982
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment