Installation » History » Version 18

J. Wienke, 03/04/2011 11:11 AM

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 18 J. Wienke
* Google Protocol Buffers (ubuntu lucid package is ok, 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 16 S. Wrede
* install python setuptools and python-dev
38 9 S. Wrede
* spread-python (e.g. via GAR installer, sources can be downloaded here: http://www.spread.org/files/SpreadModule-1.5spread4.tgz
39 10 S. Wrede
* spread-protobuf (via ubuntu package python-protobuf or protobuf sources)
40 11 S. Wrede
* extract sources, edit setup.cfg and replace protocolroot with the path to the RSBPRobotocol files ( protocolroot=${prefix}/share/rsbprotocol)
41 1 S. Wrede
42 12 S. Wrede
<pre>
43 13 S. Wrede
export PYTHONPATH=${prefix}/lib/python2.6/site-packages
44 1 S. Wrede
python setup.py build
45 13 S. Wrede
python setup.py install --prefix=${prefix}
46 12 S. Wrede
</pre>
47 12 S. Wrede
48 14 S. Wrede
After that check with _import rsb_ in a python shell.
49 14 S. Wrede
50 2 J. Wienke
h3. RSBJava
51 1 S. Wrede
52 16 S. Wrede
* install ant ubuntu package
53 15 S. Wrede
* Download src from SVN (see front page)
54 15 S. Wrede
* cd src and edit build.properties according to your installation
55 15 S. Wrede
* ant dist
56 15 S. Wrede
* install jars to prefix of your choice, e.g., ${prefix}/share/java
57 17 S. Wrede
* for rsb-xml you also need to install XOM (included in RSBJava src or via ubuntu)
58 1 S. Wrede
59 1 S. Wrede
h2. Optional
60 1 S. Wrede
61 1 S. Wrede
* Doxygen for documentation generation (ubuntu package)
62 1 S. Wrede
* lcov for coverage report (ubuntu package)