FedoraSetup » History » Version 20

Branislav Katreniak, 11/23/2017 05:39 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 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 14 Branislav Katreniak
    rapidjson \
33 15 Branislav Katreniak
    transifex-client \
34 16 Branislav Katreniak
    ccache \
35 17 Branislav Katreniak
    swig \
36 18 Branislav Katreniak
    python2-devel \
37 18 Branislav Katreniak
    lua-devel \
38 1 Michael Troß
39 20 Branislav Katreniak
sudo dnf install clang llvm valgrind
40 1 Michael Troß
</pre>
41 8 Branislav Katreniak
42 8 Branislav Katreniak
rapidjson will need to be in installed from source: https://github.com/miloyip/rapidjson.git
43 8 Branislav Katreniak
44 1 Michael Troß
45 1 Michael Troß
If you like to build the documentation you'll need
46 1 Michael Troß
47 1 Michael Troß
<pre>
48 1 Michael Troß
yum install doxygen
49 1 Michael Troß
</pre>
50 1 Michael Troß
51 1 Michael Troß
as well.
52 1 Michael Troß
53 1 Michael Troß
h2. Tools for building website
54 1 Michael Troß
55 1 Michael Troß
h3. sprocketize
56 1 Michael Troß
57 1 Michael Troß
If you're planning to modify the built-in webpages you'll need to install sprockets and rake:
58 1 Michael Troß
59 1 Michael Troß
<pre>
60 1 Michael Troß
yum install rubygems
61 1 Michael Troß
gem install rake sprockets
62 1 Michael Troß
echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc
63 1 Michael Troß
source ~/.bashrc
64 1 Michael Troß
</pre>
65 1 Michael Troß
66 1 Michael Troß
h3. yoke
67 1 Michael Troß
68 1 Michael Troß
Alternatively since dss-websrc release 1.3.0 you can use yoke from
69 1 Michael Troß
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.