FedoraSetup » History » Version 8

Branislav Katreniak, 01/13/2016 01:46 PM

1 1 Michael Troß
h1. Fedora and Red-Hat RPM-Based Setup
2 1 Michael Troß
3 1 Michael Troß
{{toc}}
4 1 Michael Troß
5 8 Branislav Katreniak
h2. Fedora 23
6 1 Michael Troß
7 1 Michael Troß
To build the dSS on a recent Fedora system run the following command to install the dependencies provided as RPM packages:
8 1 Michael Troß
9 1 Michael Troß
<pre>
10 3 Branislav Katreniak
sudo dnf install gcc-c++ cmake git-core \
11 1 Michael Troß
    libxml2-devel \
12 1 Michael Troß
    libical-devel \
13 1 Michael Troß
    poco-devel \
14 1 Michael Troß
    boost-devel \
15 1 Michael Troß
    openssl-devel \
16 1 Michael Troß
    gsoap-devel \
17 1 Michael Troß
    rrdtool-devel \
18 1 Michael Troß
    js-devel \
19 1 Michael Troß
    avahi-devel \
20 2 Branislav Katreniak
    python-lxml \
21 2 Branislav Katreniak
    uuid-devel \
22 4 Branislav Katreniak
    uthash-devel \
23 6 Branislav Katreniak
    gettext-devel \
24 7 Branislav Katreniak
    json-c-devel \
25 7 Branislav Katreniak
    libcurl-devel \
26 7 Branislav Katreniak
    protobuf-devel \
27 7 Branislav Katreniak
    libsqlite3x-devel \
28 1 Michael Troß
29 1 Michael Troß
</pre>
30 8 Branislav Katreniak
31 8 Branislav Katreniak
rapidjson will need to be in installed from source: https://github.com/miloyip/rapidjson.git
32 8 Branislav Katreniak
33 1 Michael Troß
34 1 Michael Troß
If you like to build the documentation you'll need
35 1 Michael Troß
36 1 Michael Troß
<pre>
37 1 Michael Troß
yum install doxygen
38 1 Michael Troß
</pre>
39 1 Michael Troß
40 1 Michael Troß
as well.
41 1 Michael Troß
42 1 Michael Troß
h2. Tools for building website
43 1 Michael Troß
44 1 Michael Troß
h3. sprocketize
45 1 Michael Troß
46 1 Michael Troß
If you're planning to modify the built-in webpages you'll need to install sprockets and rake:
47 1 Michael Troß
48 1 Michael Troß
<pre>
49 1 Michael Troß
yum install rubygems
50 1 Michael Troß
gem install rake sprockets
51 1 Michael Troß
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
52 1 Michael Troß
source ~/.bashrc
53 1 Michael Troß
</pre>
54 1 Michael Troß
55 1 Michael Troß
h3. yoke
56 1 Michael Troß
57 1 Michael Troß
Alternatively since dss-websrc release 1.3.0 you can use yoke from
58 1 Michael Troß
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.