Changes between Version 12 and Version 13 of ASAPSourceInstall
- Timestamp:
- 08/21/06 16:48:43 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPSourceInstall
v12 v13 4 4 Download [http://www.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz rpfits] 5 5 {{{ 6 tar zxvf rpfits.tar.gz; cd rpfits/linux7 (edit GNUMakefile and change RPFITSROOT asappropriate)8 make install6 > tar zxvf rpfits.tar.gz; cd rpfits/linux 7 (edit GNUMakefile and change RPFITSROOT if appropriate) 8 > make install 9 9 }}} 10 10 … … 12 12 Download [http://www.atnf.csiro.au/pub/software/asap/casa_asap.tar.bz2 casa_asap] (or [http://www.atnf.csiro.au/pub/software/asap/casa_asap2.1.tar.bz2 casa_asap2.1]) 13 13 {{{ 14 tar jxvf casa_asap.tar.bz2; cd casa_asap14 > tar jxvf casa_asap.tar.bz2; cd casa_asap 15 15 (read README and decide if you need to edit linux/UNKNOWN_SITE/makedefs) 16 sh build.sh16 > sh build.sh 17 17 }}} 18 18 19 19 Depending on whether you use (t)csh 20 20 {{{ 21 source aipsinit.csh21 > source aipsinit.csh 22 22 }}} 23 23 or bash 24 24 {{{ 25 . aipsinit.sh25 > . aipsinit.sh 26 26 }}} 27 27 … … 29 29 Download [http://www.atnf.csiro.au/pub/software/asap/asap_src.tar.bz2 asap_src] 30 30 {{{ 31 tar jxvf asap_src.tar.bz2; cd asap2.031 > tar jxvf asap_src.tar.bz2; cd asap2.0 32 32 }}} 33 33 34 Check Makefile and src/Makefile define library paths correctly for your system, specifically cfitsio. 35 Remove -pedantic from CXXFLAGS if using gcc >= 3.4 34 You need to have the scons package installed (see o/s specific notes) 36 35 37 36 {{{ 38 make37 > scons 39 38 }}} 40 39 Check if the module works. If the following statement returns without a message, all is good! 41 40 {{{ 42 cd /tmp; python -c "import _asap"; cd -41 > cd stage/asap; python -c "import _asap"; cd - 43 42 }}} 44 43 Install it to the default location: 45 44 {{{ 46 45 su 47 makeinstall46 scons install 48 47 }}} 49 48 … … 52 51 {{{ 53 52 su 54 cd /usr/ share/asap53 cd /usr/lib/python2.3/site-packages/asap # May be in a differen location on your machine 55 54 tar jxvf <download_directory>/asap_data.tar.bz2 56 55 }}}