Changes between Version 36 and Version 37 of ASAPSourceInstall
- Timestamp:
- 03/18/09 12:14:50 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPSourceInstall
v36 v37 7 7 8 8 === Install scons-1.2 === 9 10 9 {{{ 11 wget http://prdownloads.sourceforge.net/scons/scons-1.2.0-1.noarch.rpm 10 wget http://prdownloads.sourceforge.net/scons/scons-1.2.0.tar.gz 11 tar zxf scons-1.2.0.tar.gz 12 cd scons-1.2.0 12 13 su 13 rpm -i scons-1.2.0-1.noarch.rpm 14 python setup.py install --prefix=/usr/local 14 15 exit 16 cd - 15 17 }}} 16 17 18 18 19 === Install rpfits === … … 51 52 tar jxf casacore-0.4.1.tar.bz2 52 53 cd casacore-0.4.1 53 ./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio54 ./batchbuild.py 54 55 su 55 56 ./batchbuild.py install prefix=/usr/local … … 64 65 tar zxf asap2.3.0-src.tar.bz2 65 66 cd asap2.3.0 66 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 67 su 68 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio install 69 exit 67 scons 70 68 }}} 71 69 72 To help out other users please also create a binary package and replace the version fc9 in the following with your version: 73 {{{ 74 scons makedist=fc9 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 75 }}} 76 Then send a notification to mailto:malte.marquarding@csiro.au so I can add it to the ftp area. 77 78 79 Now it's probably best to get the asap data repository. 70 Now it's probably best to get the asap data repository. 80 71 {{{ 81 72 export ASAPDATA=. … … 84 75 }}} 85 76 86 77 Install it to the default location: 87 78 {{{ 88 79 su … … 90 81 }}} 91 82 92 * ASAP Data93 {{{94 su95 asap_update_data96 }}}97 83 98 84 Now you can test it by executing: … … 101 87 }}} 102 88 103 This will install the asap startup script in $PREFIX/bin and the python code on $ASAPPY/asap. To run you private version of asap you will need to set the PYTHONPATH environment variable to $ASAPPY/asap. To simplify your life it is recommended you edit $PREFIX/asap and add the lines (changed appropriately) near the beginning of the script: 104 {{{ 105 PYTHONPATH='/home/me/python' 106 export PYTHONPATH 107 }}} 89 108 90 109 91 == Binary release ==