Skip to content
tiffanyb edited this page Sep 17, 2014 · 4 revisions

We build holmes according to the following instruction. This instruction is generated based on Linux Debian 7.2 (Wheezy). Holmes is tested to be successfully built on Ubuntu 14.04 and Debian 7.2.

  1. Install capnproto
    git clone https://github.com/kentonv/capnproto.git
    cd capnproto/c++
    ./setup-autotools.sh
    autoreconf -i && ./configure && make -j6 check && sudo make install
  1. Install requirement packages from APT package management
    sudo apt-get install libpqxx-3.1 libpqxx3-dev glogg python-dev \\
    postgresql-server-dev-9.4 g++-4.8 gcc-4.8

Note that Debian wheezy doesn't have g++ and gcc with version higher than 4.8. You may want to add the testing(jessie) distribution to /etc/apt/source.list 3. Install necessary python package using pip

    sudo pip install -U cython
    sudo pip install pycapnp
  1. Now you should be ready to build homes. In the holmes/ directory:
   mkdir build && cd build
   cmake -DCMAKE_CXX_COMPILER=g++-4.8 ..
   make
Clone this wiki locally