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