Project

General

Profile

Installation » History » Version 11

Tony Ciavarella, 06/04/2012 01:47 AM

1 1 Tony Ciavarella
h1. Installation
2
3 5 Tony Ciavarella
h2. Obtaining the Source Code
4 1 Tony Ciavarella
5 2 Tony Ciavarella
h3. Release Tarballs
6
7 4 Tony Ciavarella
Release source tarballs are available on the "Files":http://oss.squalllinesoftware.com/projects/disorder/files page.  This is what you want if you are looking for stability and something ready for production use.  You'll probably want to use the most recent version found on that page.
8 2 Tony Ciavarella
9
h3. SCM
10
11 4 Tony Ciavarella
The Disorder source code is hosted in a "Bazaar":http://bazaar.canonical.com repository.  This is what you want if you are looking for the very latest bleeding edge of the code for contributing to Disorder or whatever other reason you may have.
12 2 Tony Ciavarella
13
To get a lightweight checkout of the latest version without all the history (not suitable for Disorder development):
14 3 Tony Ciavarella
<pre>bzr co --lightweight http://???.squalllinesoftware.com/???/disorder</pre>
15 2 Tony Ciavarella
16
To clone the repository including the full history:
17 3 Tony Ciavarella
<pre>bzr branch http://???.squalllinesoftware.com/???/disorder</pre>
18 2 Tony Ciavarella
19 1 Tony Ciavarella
h2. Prerequisites
20
21
The following third party things are required to use Disorder:
22 6 Tony Ciavarella
* "Boost":http://www.boost.org >= 1.49.0
23 8 Tony Ciavarella
* "Eigen":http://eigen.tuxfamily.org >= 3.0.5
24 7 Tony Ciavarella
* C++ version of the "SEDRIS SRM":http://www.sedris.org/srm_4.4/srm_c_cpp.htm >= 4.4.0 (optional but you will need some kind of sophisticated geospatial library)
25 1 Tony Ciavarella
* A "Python":http://www.python.org interpreter (needed to use the "waf":https://code.google.com/p/waf/ build system)
26
27 8 Tony Ciavarella
Build and install these things in accordance with the instructions for your operating system.  Here are some hints for certain platforms.
28 1 Tony Ciavarella
29 8 Tony Ciavarella
h3. Debian Linux and Derivatives
30
31 9 Tony Ciavarella
To install the Boost and Eigen build dependencies on Debian and maybe other derivatives:
32 8 Tony Ciavarella
<pre>sudo apt-get install libboost-dev libboost-system-dev libboost-thread-dev libboost-date-time-dev libeigen3-dev</pre>
33 1 Tony Ciavarella
34 10 Tony Ciavarella
If you don't already have python, this will get the required bits of that:
35
<pre>sudo apt-get install python</pre>
36
37 1 Tony Ciavarella
h2. Compiling
38
39 11 Tony Ciavarella
h3. With GCC on Linux
40
41
h3. With Clang++ on Linux
42
43 1 Tony Ciavarella
h2. Building Against the Disorder Library