source: branches/Release2.1.1/INSTALL@ 2215

Last change on this file since 2215 was 1194, checked in by mar637, 18 years ago

Installation instruction

File size: 1.4 KB
Line 
1Requirements
2============
3
4* scons
5
6Installation
7============
8
9scons has several targets. It is recommended to execute them sequentially.
10The 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
20Obtaining the data directory
21============================
22The data repository can be obtained seperately after installing ASAP.
23Before you run asap for the first time simply run
24 asap_update_data
25This will install the data repository into the correct location.
26
27There are several ways to do this.
28a) 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
32b) 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
40Creating a binary distribution
41==============================
42
43after 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
47This 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.