source: branches/asap-3.x/INSTALL@ 3150

Last change on this file since 3150 was 1741, checked in by Malte Marquarding, 15 years ago

Version update

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