FedoraSetup » History » Version 20

Version 19 (Branislav Katreniak, 11/23/2017 04:53 PM) → Version 20/21 (Branislav Katreniak, 11/23/2017 05:39 PM)

h1. Fedora and Red-Hat RPM-Based Setup

{{toc}}

h2. Fedora 23

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

<pre>
sudo dnf install gcc-c++ cmake git-core \
libtool autoconf automake \
libxml2-devel \
libical-devel \
poco-devel \
boost-devel \
openssl-devel \
gsoap-devel \
rrdtool-devel \
js-devel \
avahi-devel \
python-lxml \
uuid-devel \
uthash-devel \
gettext-devel \
json-c-devel \
libcurl-devel \
protobuf-devel \
protobuf-c-devel \
libsqlite3x-devel \
libconfig-devel \
nodejs \
rapidjson \
transifex-client \
ccache \
swig \
python2-devel \
lua-devel \

sudo dnf install clang llvm valgrind
</pre>

rapidjson will need to be in installed from source: https://github.com/miloyip/rapidjson.git

If you like to build the documentation you'll need

<pre>
yum install doxygen
</pre>

as well.

h2. Tools for building website

h3. sprocketize

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

<pre>
yum install rubygems
gem install rake sprockets
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
source ~/.bashrc
</pre>

h3. yoke

Alternatively since dss-websrc release 1.3.0 you can use yoke from
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.