Installation » History » Version 15

S. Wrede, 03/02/2011 06:28 PM

1 1 S. Wrede
h1. Installation
2 1 S. Wrede
3 6 S. Wrede
h2. External Dependencies
4 1 S. Wrede
5 6 S. Wrede
* Boost (mostly dependencies of RSC library), in particular 
6 6 S. Wrede
** boost::uuid (can be installed from GAR installer via contrib/boost.uuid, maverick: libboost1.42-dev)
7 6 S. Wrede
** libboost-thread-dev
8 6 S. Wrede
** libboost-filesystem-dev
9 6 S. Wrede
** libboost-signals-dev
10 1 S. Wrede
11 7 S. Wrede
* Google Protocol Buffers (can also be installed from GAR installer via contrib/protobuf), in particular
12 7 S. Wrede
** libprotobuf-java
13 7 S. Wrede
** libprotobuf-dev
14 7 S. Wrede
** protobuf-compiler
15 1 S. Wrede
16 6 S. Wrede
Up to this step, in Maverick installing the dependencies should be as simple as:
17 6 S. Wrede
<pre>
18 6 S. Wrede
sudo apt-get install libprotobuf-java libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-filesystem-dev libboost-signals-dev libboost1.42-dev
19 6 S. Wrede
</pre>
20 6 S. Wrede
21 6 S. Wrede
* Spread Toolkit for Spread multicast transport extension (lucid ubuntu package does *not* work, due to outdated version 3) 
22 6 S. Wrede
** Can be installed through GAR installer via contrib/spread or from source
23 6 S. Wrede
24 6 S. Wrede
h3. RSBProtocol, RSC, RSB
25 6 S. Wrede
26 6 S. Wrede
* Check out sources from SVN, see landing page of this and the RSC project
27 8 S. Wrede
* RSC SVN URL: https://code.cor-lab.org/svn/rsc/trunk/rsc/
28 6 S. Wrede
* CMake is required to configure the projects, however then it shoud be as simple as:
29 6 S. Wrede
30 6 S. Wrede
<pre>
31 6 S. Wrede
cd RSBProtocol/build && cmake .. -DCMAKE_INSTALL_PREFIX=/vol/cit && make && make install
32 6 S. Wrede
</pre>
33 1 S. Wrede
34 1 S. Wrede
35 2 J. Wienke
h3. RSBPython
36 1 S. Wrede
37 9 S. Wrede
* spread-python (e.g. via GAR installer, sources can be downloaded here: http://www.spread.org/files/SpreadModule-1.5spread4.tgz
38 10 S. Wrede
* spread-protobuf (via ubuntu package python-protobuf or protobuf sources)
39 11 S. Wrede
* extract sources, edit setup.cfg and replace protocolroot with the path to the RSBPRobotocol files ( protocolroot=${prefix}/share/rsbprotocol)
40 1 S. Wrede
41 12 S. Wrede
<pre>
42 13 S. Wrede
export PYTHONPATH=${prefix}/lib/python2.6/site-packages
43 1 S. Wrede
python setup.py build
44 13 S. Wrede
python setup.py install --prefix=${prefix}
45 12 S. Wrede
</pre>
46 12 S. Wrede
47 14 S. Wrede
After that check with _import rsb_ in a python shell.
48 14 S. Wrede
49 2 J. Wienke
h3. RSBJava
50 1 S. Wrede
51 15 S. Wrede
* Download src from SVN (see front page)
52 15 S. Wrede
* cd src and edit build.properties according to your installation
53 15 S. Wrede
* ant dist
54 15 S. Wrede
* install jars to prefix of your choice, e.g., ${prefix}/share/java
55 1 S. Wrede
56 1 S. Wrede
h2. Optional
57 1 S. Wrede
58 1 S. Wrede
* Doxygen for documentation generation (ubuntu package)
59 1 S. Wrede
* lcov for coverage report (ubuntu package)