Line | |
---|
1 | Requirements |
---|
2 | ============ |
---|
3 | |
---|
4 | * scons |
---|
5 | |
---|
6 | Installation |
---|
7 | ============ |
---|
8 | |
---|
9 | scons has several targets. It is recommended to execute them sequentially. |
---|
10 | The normal install procedure is as follows: |
---|
11 | scons |
---|
12 | # Do this if you haven't got a data directory already |
---|
13 | export ASAPDATA=. |
---|
14 | ./bin/asap_update_data |
---|
15 | # |
---|
16 | scons install |
---|
17 | |
---|
18 | |
---|
19 | Obtaining the data directory |
---|
20 | ============================ |
---|
21 | The data repository can be obtained separately after installing ASAP. |
---|
22 | Before you run asap for the first time simply run |
---|
23 | asap_update_data |
---|
24 | This will install the data repository into the correct location. |
---|
25 | |
---|
26 | There are several ways to do this. |
---|
27 | a) If you already have the 'data' directory, copy it to the root directory and run the normal install procedure. |
---|
28 | scons |
---|
29 | scons install |
---|
30 | |
---|
31 | b) You can obtain the data repository from the ftp site. |
---|
32 | Simply run |
---|
33 | export ASAPDATA=. |
---|
34 | ./bin/asap_update_data |
---|
35 | This will retrieve and unpack the data directory. |
---|
36 | After this run: |
---|
37 | scons install |
---|
38 | |
---|
39 | Creating a binary distribution |
---|
40 | ============================== |
---|
41 | |
---|
42 | 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' |
---|
43 | |
---|
44 | scons makedist=sarge |
---|
45 | |
---|
46 | 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.