Installation » History » Version 32

S. Wrede, 06/28/2011 09:21 PM

1 1 S. Wrede
h1. Installation
2 1 S. Wrede
3 32 S. Wrede
* [[Installation/C++|C++]]
4 32 S. Wrede
* [[Installation/Python|Python]]
5 1 S. Wrede
6 21 J. Wienke
h2. Python
7 1 S. Wrede
8 21 J. Wienke
h3. External Dependencies
9 1 S. Wrede
10 1 S. Wrede
* install python setuptools and python-dev
11 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!)
12 21 J. Wienke
* python-protobuf (via ubuntu package python-protobuf or protobuf sources)
13 1 S. Wrede
14 21 J. Wienke
h3. Installation
15 21 J. Wienke
16 21 J. Wienke
* get sources
17 21 J. Wienke
* edit setup.cfg and replace protocolroot with the path to the RSBPRobotocol files (e.g. protocolroot=${prefix}/share/rsbprotocol)
18 21 J. Wienke
19 1 S. Wrede
<pre>
20 21 J. Wienke
export PYTHONPATH=$prefix/lib/python2.6/site-packages
21 1 S. Wrede
python setup.py build
22 21 J. Wienke
python setup.py install --prefix=$prefix
23 1 S. Wrede
</pre>
24 12 S. Wrede
25 21 J. Wienke
Afterwards, @import rsb@ should be possible in a python shell.
26 14 S. Wrede
27 21 J. Wienke
h2. Java
28 2 J. Wienke
29 21 J. Wienke
h3. External Dependencies
30 21 J. Wienke
31 21 J. Wienke
* libprotobuf-java
32 21 J. Wienke
* ant
33 21 J. Wienke
* Optional:
34 21 J. Wienke
** javadoc
35 21 J. Wienke
36 21 J. Wienke
h3. Installation
37 21 J. Wienke
38 1 S. Wrede
* Download src from SVN (see front page)
39 1 S. Wrede
* cd src and edit build.properties according to your installation
40 21 J. Wienke
* @ant install@ installs jars to prefix of your choice, e.g., ${prefix}/share/java (defined via property)
41 1 S. Wrede
* for rsb-xml you also need to install XOM (included in RSBJava src or via ubuntu)
42 22 J. Moringen
43 23 J. Moringen
h2. Common Lisp
44 1 S. Wrede
45 23 J. Moringen
h3. External Dependencies
46 23 J. Moringen
47 22 J. Moringen
| *System*           | *Required*                | *Obtainable From*                     |
48 22 J. Moringen
| alexandria         | yes                       | "Quicklisp":http://www.quicklisp.org/ |
49 22 J. Moringen
| split-sequence     | yes                       | Quicklisp                             |
50 22 J. Moringen
| iterate            | yes                       | Quicklisp                             |
51 22 J. Moringen
| metabang-bind      | yes                       | Quicklisp                             |
52 22 J. Moringen
| bordeaux-threads   | yes                       | Quicklisp                             |
53 22 J. Moringen
| closer-mop         | yes                       | Quicklisp                             |
54 22 J. Moringen
| log5               | yes                       | Quicklisp                             |
55 22 J. Moringen
| puri               | yes                       | Quicklisp                             |
56 22 J. Moringen
| uuid               | yes                       | Quicklisp                             |
57 26 J. Moringen
| local-time         | yes                       | Quicklisp                             |
58 22 J. Moringen
| cl-hooks           | yes                       | https://launchpad.net/cl-hooks        |
59 22 J. Moringen
| cl-dynamic-classes | yes                       | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-dynamic-classes/ |
60 22 J. Moringen
| cxml-stp           | for XML event data        | Quicklisp                             |
61 22 J. Moringen
| xpath              | for XPath event filtering | Quicklisp                             |
62 22 J. Moringen
| cl-protobuf        | for Spread transport      | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-protobuf/ |
63 1 S. Wrede
| cl-spread          | for Spread transport      | "RSB Repository":https://code.cor-lab.org/svn/rsb/trunk/cl/cl-spread/ |
64 24 J. Moringen
| -- libspread       | for Spread transport      | See C++ installation instructions     |
65 23 J. Moringen
66 23 J. Moringen
h3. Installation
67 25 J. Moringen
68 25 J. Moringen
# Download systems from Subversion repository:
69 25 J. Moringen
#* @cl-rsb@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-rsb/@
70 25 J. Moringen
#* @cl-dynamic-classes@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-dynamic-classes/@
71 25 J. Moringen
#* @cl-protobuf@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-protobuf/@
72 25 J. Moringen
#* @cl-spread@: @svn export https://code.cor-lab.org/svn/rsb/trunk/cl/cl-spread/@
73 25 J. Moringen
# Download other required systems:
74 25 J. Moringen
#* @cl-hooks@: @bzr branch lp:cl-hooks@
75 25 J. Moringen
# Load @cl-rsb@ with Quicklisp to pull in remaining dependencies:
76 25 J. Moringen
  @(ql:quickload :cl-rsb)@