Chris Biscardi

moon indicating dark mode
sun indicating light mode

Installing Montage: A Riak sibling resolution library written in Haskell, on OSX

Here is a description of how I installed Montage (https://github.com/bumptech/montage) with GHC 7.6.1

First clone these repos (the relevant commit I used is listed below each clone command)

mkdir montage_deps
cd montage_deps
git clone git clone git@github.com:wmoss/StatsWeb.git
cd StatsWeb
git checkout d65376e37b315897226e37946faa35e1b1a328f5
cabal install
cd ..
git clone https://github.com/bumptech/riak-haskell-client.git
cd riak-haskell-client
git checkout 1a773db41681c895021206a742f889a20daf5875
cd protobuf && cabal install
cd .. && cabal install
cd ..
git clone https://github.com/bumptech/pool.git
cd pool
git checkout b72a259dc375cce4a8208eedc58d8252b3c44201
cd ..

Next I installed some C dependencies using homebrew (http://brew.sh/):

brew install libev redo libsodium

Grab the nitro C code from http://gonitro.io/ I used v0.2.0

cd folder_with_nitro_code
redo
sudo redo install

We are now ready to install Montage

cd montage_deps
git clone https://github.com/bumptech/montage.git
cd montage
git checkout 8ac5d81328b29ddf547673f158a1185b40ceec85
cabal install