Installation » History » Version 26

J. Moringen, 05/29/2011 10:48 PM
added dependnecy on local-time for cl-rsb

1 1 S. Wrede
h1. Installation
2 1 S. Wrede
3 21 J. Wienke
h2. C++
4 1 S. Wrede
5 21 J. Wienke
h3. External Dependencies
6 21 J. Wienke
7 6 S. Wrede
* Boost (mostly dependencies of RSC library), in particular 
8 6 S. Wrede
** boost::uuid (can be installed from GAR installer via contrib/boost.uuid, maverick: libboost1.42-dev)
9 6 S. Wrede
** libboost-thread-dev
10 1 S. Wrede
** libboost-filesystem-dev
11 18 J. Wienke
** libboost-signals-dev
12 1 S. Wrede
* Google Protocol Buffers (ubuntu lucid package is ok, can also be installed from GAR installer via contrib/protobuf), in particular
13 1 S. Wrede
** libprotobuf-dev
14 1 S. Wrede
** protobuf-compiler
15 21 J. Wienke
* Optional:
16 21 J. Wienke
** Doxygen for documentation generation (ubuntu package)
17 21 J. Wienke
** lcov for coverage report (ubuntu package)
18 1 S. Wrede
19 6 S. Wrede
Up to this step, in Maverick installing the dependencies should be as simple as:
20 6 S. Wrede
<pre>
21 6 S. Wrede
sudo apt-get install libprotobuf-java libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-filesystem-dev libboost-signals-dev libboost-program-options-dev libboost-regex-dev libboost1.42-dev
22 6 S. Wrede
</pre>
23 1 S. Wrede
24 6 S. Wrede
* Spread Toolkit for Spread multicast transport extension (lucid ubuntu package does *not* work, due to outdated version 3) 
25 6 S. Wrede
** Can be installed through GAR installer via contrib/spread or from source
26 1 S. Wrede
27 21 J. Wienke
h3. Installation of RSBProtocol, RSC, RSB
28 1 S. Wrede
29 8 S. Wrede
* Check out sources from SVN, see landing page of this and the RSC project
30 6 S. Wrede
* RSC SVN URL: https://code.cor-lab.org/svn/rsc/trunk/rsc/
31 21 J. Wienke
* CMake is required to configure the projects, however then it should be as simple as:
32 1 S. Wrede
33 1 S. Wrede
<pre>
34 21 J. Wienke
cd RS{BProtocol,C,B}/build && cmake .. -DCMAKE_INSTALL_PREFIX=$prefix && make && make install
35 1 S. Wrede
</pre>
36 1 S. Wrede
37 21 J. Wienke
h2. Python
38 1 S. Wrede
39 21 J. Wienke
h3. External Dependencies
40 1 S. Wrede
41 1 S. Wrede
* install python setuptools and python-dev
42 21 J. Wienke
* spread-python (e.g. via GAR installer, sources can be downloaded here: http://www.spread.org/files/SpreadModule-1.5spread4.tgz, the version automatically installed by setuptools is NOT working!)
43 21 J. Wienke
* python-protobuf (via ubuntu package python-protobuf or protobuf sources)
44 1 S. Wrede
45 21 J. Wienke
h3. Installation
46 21 J. Wienke
47 21 J. Wienke
* get sources
48 21 J. Wienke
* edit setup.cfg and replace protocolroot with the path to the RSBPRobotocol files (e.g. protocolroot=${prefix}/share/rsbprotocol)
49 21 J. Wienke
50 1 S. Wrede
<pre>
51 21 J. Wienke
export PYTHONPATH=$prefix/lib/python2.6/site-packages
52 1 S. Wrede
python setup.py build
53 21 J. Wienke
python setup.py install --prefix=$prefix
54 1 S. Wrede
</pre>
55 12 S. Wrede
56 21 J. Wienke
Afterwards, @import rsb@ should be possible in a python shell.
57 14 S. Wrede
58 21 J. Wienke
h2. Java
59 2 J. Wienke
60 21 J. Wienke
h3. External Dependencies
61 21 J. Wienke
62 21 J. Wienke
* libprotobuf-java
63 21 J. Wienke
* ant
64 21 J. Wienke
* Optional:
65 21 J. Wienke
** javadoc
66 21 J. Wienke
67 21 J. Wienke
h3. Installation
68 21 J. Wienke
69 1 S. Wrede
* Download src from SVN (see front page)
70 1 S. Wrede
* cd src and edit build.properties according to your installation
71 21 J. Wienke
* @ant install@ installs jars to prefix of your choice, e.g., ${prefix}/share/java (defined via property)
72 1 S. Wrede
* for rsb-xml you also need to install XOM (included in RSBJava src or via ubuntu)
73 22 J. Moringen
74 23 J. Moringen
h2. Common Lisp
75 1 S. Wrede
76 23 J. Moringen
h3. External Dependencies
77 23 J. Moringen
78 22 J. Moringen
| *System*           | *Required*                | *Obtainable From*                     |
79 22 J. Moringen
| alexandria         | yes                       | "Quicklisp":http://www.quicklisp.org/ |
80 22 J. Moringen
| split-sequence     | yes                       | Quicklisp                             |
81 22 J. Moringen
| iterate            | yes                       | Quicklisp                             |
82 22 J. Moringen
| metabang-bind      | yes                       | Quicklisp                             |
83 22 J. Moringen
| bordeaux-threads   | yes                       | Quicklisp                             |
84 22 J. Moringen
| closer-mop         | yes                       | Quicklisp                             |
85 22 J. Moringen
| log5               | yes                       | Quicklisp                             |
86 22 J. Moringen
| puri               | yes                       | Quicklisp                             |
87 22 J. Moringen
| uuid               | yes                       | Quicklisp                             |
88 26 J. Moringen
| local-time         | yes                       | Quicklisp                             |
89 22 J. Moringen
| cl-hooks           | yes                       | https://launchpad.net/cl-hooks        |
90 22 J. Moringen
| cl-dynamic-classes | yes                       | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-dynamic-classes/ |
91 22 J. Moringen
| cxml-stp           | for XML event data        | Quicklisp                             |
92 22 J. Moringen
| xpath              | for XPath event filtering | Quicklisp                             |
93 22 J. Moringen
| cl-protobuf        | for Spread transport      | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-protobuf/ |
94 1 S. Wrede
| cl-spread          | for Spread transport      | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-spread/ |
95 24 J. Moringen
| -- libspread       | for Spread transport      | See C++ installation instructions     |
96 23 J. Moringen
97 23 J. Moringen
h3. Installation
98 25 J. Moringen
99 25 J. Moringen
# Download systems from Subversion repository:
100 25 J. Moringen
#* @cl-rsb@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-rsb/@
101 25 J. Moringen
#* @cl-dynamic-classes@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-dynamic-classes/@
102 25 J. Moringen
#* @cl-protobuf@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-protobuf/@
103 25 J. Moringen
#* @cl-spread@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-spread/@
104 25 J. Moringen
# Download other required systems:
105 25 J. Moringen
#* @cl-hooks@: @bzr branch lp:cl-hooks@
106 25 J. Moringen
# Load @cl-rsb@ with Quicklisp to pull in remaining dependencies:
107 25 J. Moringen
  @(ql:quickload :cl-rsb)@