FedoraSetup » History » Version 12

Branislav Katreniak, 10/24/2016 10:32 AM

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 11 Branislav Katreniak
    libtool autoconf automake \
12 1 Michael Troß
    libxml2-devel \
13 1 Michael Troß
    libical-devel \
14 1 Michael Troß
    poco-devel \
15 1 Michael Troß
    boost-devel \
16 1 Michael Troß
    openssl-devel \
17 1 Michael Troß
    gsoap-devel \
18 1 Michael Troß
    rrdtool-devel \
19 1 Michael Troß
    js-devel \
20 1 Michael Troß
    avahi-devel \
21 2 Branislav Katreniak
    python-lxml \
22 2 Branislav Katreniak
    uuid-devel \
23 4 Branislav Katreniak
    uthash-devel \
24 6 Branislav Katreniak
    gettext-devel \
25 7 Branislav Katreniak
    json-c-devel \
26 7 Branislav Katreniak
    libcurl-devel \
27 7 Branislav Katreniak
    protobuf-devel \
28 9 Branislav Katreniak
    protobuf-c-devel \
29 7 Branislav Katreniak
    libsqlite3x-devel \
30 9 Branislav Katreniak
    libconfig-devel \
31 10 Branislav Katreniak
    nodejs \
32 12 Branislav Katreniak
    libuuid-devel \
33 1 Michael Troß
34 1 Michael Troß
</pre>
35 8 Branislav Katreniak
36 8 Branislav Katreniak
rapidjson will need to be in installed from source: https://github.com/miloyip/rapidjson.git
37 8 Branislav Katreniak
38 1 Michael Troß
39 1 Michael Troß
If you like to build the documentation you'll need
40 1 Michael Troß
41 1 Michael Troß
<pre>
42 1 Michael Troß
yum install doxygen
43 1 Michael Troß
</pre>
44 1 Michael Troß
45 1 Michael Troß
as well.
46 1 Michael Troß
47 1 Michael Troß
h2. Tools for building website
48 1 Michael Troß
49 1 Michael Troß
h3. sprocketize
50 1 Michael Troß
51 1 Michael Troß
If you're planning to modify the built-in webpages you'll need to install sprockets and rake:
52 1 Michael Troß
53 1 Michael Troß
<pre>
54 1 Michael Troß
yum install rubygems
55 1 Michael Troß
gem install rake sprockets
56 1 Michael Troß
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
57 1 Michael Troß
source ~/.bashrc
58 1 Michael Troß
</pre>
59 1 Michael Troß
60 1 Michael Troß
h3. yoke
61 1 Michael Troß
62 1 Michael Troß
Alternatively since dss-websrc release 1.3.0 you can use yoke from
63 1 Michael Troß
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.