Last change
on this file since 1448 was 1436, checked in by Malte Marquarding, 16 years ago |
move to use ReST tro be able to use the file in wiki/html
|
File size:
1.4 KB
|
Rev | Line | |
---|
[1194] | 1 | Requirements
|
---|
| 2 | ============
|
---|
| 3 |
|
---|
| 4 | * scons
|
---|
| 5 |
|
---|
| 6 | Installation
|
---|
| 7 | ============
|
---|
| 8 |
|
---|
| 9 | scons has several targets. It is recommended to execute them sequentially.
|
---|
[1436] | 10 | The normal install procedure is as follows
|
---|
| 11 | .. code::
|
---|
| 12 |
|
---|
[1194] | 13 | scons
|
---|
| 14 | # Do this if you haven't got a data directory already
|
---|
| 15 | export ASAPDATA=.
|
---|
| 16 | ./bin/asap_update_data
|
---|
| 17 | #
|
---|
| 18 | scons install
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | Obtaining the data directory
|
---|
| 22 | ============================
|
---|
[1436] | 23 |
|
---|
[1404] | 24 | The data repository can be obtained separately after installing ASAP.
|
---|
[1436] | 25 | Before you run asap for the first time simply run::
|
---|
| 26 |
|
---|
[1194] | 27 | asap_update_data
|
---|
[1436] | 28 |
|
---|
[1194] | 29 | This will install the data repository into the correct location.
|
---|
| 30 |
|
---|
| 31 | There are several ways to do this.
|
---|
[1436] | 32 | a) If you already have the 'data' directory, copy it to the root directory and run the normal install procedure::
|
---|
| 33 |
|
---|
[1194] | 34 | scons
|
---|
| 35 | scons install
|
---|
| 36 |
|
---|
| 37 | b) You can obtain the data repository from the ftp site.
|
---|
[1436] | 38 | Simply run::
|
---|
| 39 |
|
---|
[1194] | 40 | export ASAPDATA=.
|
---|
| 41 | ./bin/asap_update_data
|
---|
[1436] | 42 |
|
---|
[1194] | 43 | This will retrieve and unpack the data directory.
|
---|
[1436] | 44 | After this run::
|
---|
| 45 |
|
---|
[1194] | 46 | scons install
|
---|
| 47 |
|
---|
| 48 | Creating a binary distribution
|
---|
| 49 | ==============================
|
---|
| 50 |
|
---|
[1436] | 51 | after building using 'scons', you can create a compressed tarball of the binaries. This is done via the target 'makedist='. The argument should be an obvious identifier for the system you want to support, e.g. 'sarge' or 'fc5-x86_64'::
|
---|
[1194] | 52 |
|
---|
| 53 | scons makedist=sarge
|
---|
| 54 |
|
---|
| 55 | This will create an archive in the subdirectory 'dist' named 'asap-X.Y.Z-sarge.tar.bz2', where X,Y,Z are the version numbers e.g 2.1.0.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.