Skip to content
This repository was archived by the owner on Aug 19, 2018. It is now read-only.

Building (Ubuntu)

Ricky Curtice edited this page Feb 13, 2017 · 2 revisions

The following is essentially a log showing how it was done for one user. YMMV, and there's an assumption that you are familiar with compiling C++ from a BASH prompt.

Build and install Boost 1.55 onto your system

Many thanks to user3715812's answer on StackOverflow and to Gabriel's answer on another thread.

Please note you should cd to an appropriate place where your user has write access.

sudo apt-get update
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev
# Please note that the above may not be complete, as I'm not working from a fresh system.
wget -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
tar xzvf boost_1_55_0.tar.gz
cd boost_1_55_0/
./bootstrap.sh --prefix=/usr/local
./b2 -j12 toolset=gcc variant=release link=shared threading=multi address-model=64 cxxflags=-std=c++11
sudo ./b2 -j12 toolset=gcc variant=release link=shared threading=multi address-model=64 cxxflags=-std=c++11 install

Build WHIP

Please note you should cd to another appropriate place where your user has write access.

  1. Clone or download the repository
  2. cd into the folder containing the WHIP sources.
  3. Build:
cmake .
make

Configure WHIP

  1. Copy whip.cfg.sample to whip.cfg
  2. Edit whip.cfg
    1. Change the password entry to have a value that you'll later add to the appropriate Halcyon configuration files.
    2. Change the disk_storage_root entry to point to where you wan the asset files to be stored. Be sure to create this folder as WHIP will not create it for you. Please note that on Linux the path can be relative from the CWD or absolute from root.

Clone this wiki locally