forked from bisdn/rofl-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
92 lines (61 loc) · 3.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
What it is
==========
The Revised OpenFlow Library (ROFL) helps you adding OpenFlow support to your software to build control applications, controller frameworks and/or datapath elements.
Requirements
============
- A modern GNU build-system (autoconf, automake, libtool, ...)
- pkg-config
- GNU/Linux and libc development headers (linux-libc-dev and libc6-dev package in Debian/Ubuntu systems)
- [optional] if you want to run automatic tests (make check), libcunit and libcppunit are required (in libcunit1-dev and libcppunit-dev packages in Debian-like systems).
- [optional] Doxygen to generate the documentation.
How to build
============
Install the dependencies and run:
sh# ./autogen.sh
sh# cd build
sh# ../configure
sh# make
sh# make install
Optionally you can 'make check' for consistency checks.
Optional ../configure parameters
================================
--enable-debug: Compile with debug symbols (-g) and debug output (warning, it may affect performance)
--enable-verbose: Increase the level of debug (useless without --enable-debug)
--disable-silent-rules: Enable verbose compilation mode (AM_SILENT_RULES disabled)
Known issues with Automake 1.14
===============================
ROFL package uses 'subdir-objects'. From 1.14 on, the support of 'subdir-objects' must be explicitly added in AM_INIT_AUTOMAKE() in order to prevent warnings that will abort compilation. However, due to the following bug:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928
The build system won't work if 'subdir-objects' is added in AM_INIT_AUTOMAKE().
Currently, in order to compile the package, the suggested strategy is to remove -Werror from AM_INIT_AUTOMAKE() in the configure.ac:
diff --git a/configure.ac b/configure.ac
index 0864619..e10a114 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_INIT(ROFL, 0.4.0, [email protected], rofl, https://www.codebasin.net/redmine/proj
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall foreign])
Note there will be a considerably number of warnings shown. Once bug 13928, 'subdir-objects' will be added as it should be.
Doxygen documentation
================================
Documentation can be compiled via 'make doc'. Documentation is generated in build/doc/ folder
FAQ
===
Some distributions, in particular Red Hat based, do not include by default /usr/local/lib on the search path of ldconfig, not allowing to link against -lrofl and -lrofl_pipeline. In this case, you might have to add /usr/local/lib/ into /etc/ld.so.conf and re-run ldconfig.
More information, documentation and support
===========================================
You can have a look on:
http://www.roflibs.org/
http://www.roflibs.org/doc/
Documentation can be compiled via 'make doc'. Documentation is generated in build/doc/ folder
For getting support or participate in the discussions, join the mailing list [email protected] at https://lists.roflibs.org/mailman
Authorship
==========
(c) Copyright BISDN GmbH 2013
Andreas Koepsel<andreas.koepsel (at) bisdn.de>
Marc Sune<marc.sune (at) bisdn.de>
Victor Alvarez<victor.alvarez (at) bisdn.de>
Tobias Jungel<tobias.jungel (at) bisdn.de>
And others.