1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/documentation/Install.md

36 lines
1.1 KiB
Markdown
Raw Normal View History

2015-08-09 23:58:03 +02:00
# Setup
## Compilation
### Prerequisites
Install libraries including developement headers for:
2015-08-09 23:58:03 +02:00
- [libconfig](http://www.hyperrealm.com/libconfig/) for parsing the config file
2015-08-22 17:40:17 +02:00
- [libnl3](http://www.infradead.org/~tgr/libnl/) for the network communication & emulation support
- libOpal{AsyncApi,Core,Utils} for running the S2SS server as an Asynchronous process inside your RT-LAB model
2015-08-09 23:58:03 +02:00
Use the following command to install the dependencies under Debian-based distributions:
2015-08-22 17:40:17 +02:00
$ sudo apt-get install libconfig-dev libnl-3-dev libnl-route-3-dev
2015-08-09 23:58:03 +02:00
or the following line for Fedora / CentOS / Redhat systems:
2015-08-09 23:58:03 +02:00
$ sudo yum install iproute2 libconfig-devel libnl3-devel
**Important:** Please note that the server requires the
[iproute2](http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2)
tools to setup the network emulation and interfaces.
### Compilation
2015-08-22 17:40:17 +02:00
Checkout the `Makefile` and `include/config.h` for some options which have to be specified at compile time.
Afterwards, start the compilation with:
$ make
2015-08-22 17:40:17 +02:00
Append `V=5` to `make` for a more verbose debugging output.
2015-08-22 17:40:17 +02:00
Append `DEBUG=1` to `make` to add debug symbols.