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