UbuntuSetup » History » Version 49

« Previous - Version 49/59 (diff) - Next » - Current version
Michal Tomaszewski, 08/08/2017 03:25 PM


Ubuntu Setup

Ubuntu 11.10 (or more recent)

To build the dSS on a recent Ubuntu system run the following command to install the dependencies provided as Ubuntu packages:

sudo apt-get install g++ cmake git autoconf libtool \
    doxygen \
    libavahi-client-dev \
    libboost-system-dev \
    libboost-filesystem-dev \
    libboost-thread-dev \
    libboost-program-options-dev \
    libboost-test-dev \
    libconfig-dev \
    libcurl4-openssl-dev \
    libgoogle-perftools-dev \
    libical-dev \
    libical-dev \
    libjson0-dev \
    libjson-c-dev \
    libmozjs185-dev \
    libossp-uuid-dev \
    libprotobuf-dev \
    libprotobuf-c0-dev \
    libprotobuf-c-dev \
    librrd-dev rrdtool \
    libsqlite3-dev \
    libssl-dev \
    libxml2-dev \
    protobuf-compiler \
    protobuf-c-compiler \
    python-lxml \
    uthash-dev \
    libexpat1-dev

rapidjson will need to be in installed from source.

boost needs to be updated to at least 1.53

Older Ubuntu Releases

Older releases do not fulfill the library requirements. You have to manually install the appropriate
SpiderMonkey (>1.8.5) and gSOAP (>2.8.4) releases from source.

Tools for building website

yoke

As an alternative to sproketize, dss-websrc releases since 1.3.0 support yoke from
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.

Note that ubuntu needs the custom version from the Sprocketize wiki page.

sprocketize

If you're planning to modify the built-in webpages you'll need to install sprockets and rake:

sudo apt-get install rubygems
sudo gem install rake sprockets
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
source ~/.bashrc

dS assistant

On top of the packets for dss server also install these.

sudo apt-get install libboost-regex-dev \
    libsqlite3-dev \
    libconfig-dev

js-complile.patch Magnifier - Patch to make js185 compilable on a modern compiler (5.13 KB) Christian Hitz, 08/13/2018 09:12 AM