Changes between Version 12 and Version 13 of ASAPSourceInstall


Ignore:
Timestamp:
08/21/06 16:48:43 (18 years ago)
Author:
Chris Phillips
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ASAPSourceInstall

    v12 v13  
    44  Download [http://www.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz rpfits]
    55{{{
    6    tar zxvf rpfits.tar.gz; cd rpfits/linux
    7        (edit GNUMakefile and change RPFITSROOT as appropriate)
    8    make install
     6   > tar zxvf rpfits.tar.gz; cd rpfits/linux
     7       (edit GNUMakefile and change RPFITSROOT if appropriate)
     8   > make install
    99}}}
    1010
     
    1212  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])
    1313{{{
    14    tar jxvf casa_asap.tar.bz2; cd casa_asap
     14   > tar jxvf casa_asap.tar.bz2; cd casa_asap
    1515        (read README and decide if you need to edit linux/UNKNOWN_SITE/makedefs)
    16    sh build.sh
     16   > sh build.sh
    1717}}}
    1818
    1919  Depending on whether you use (t)csh
    2020{{{
    21    source aipsinit.csh
     21   > source aipsinit.csh
    2222}}}
    2323or bash
    2424{{{
    25    . aipsinit.sh
     25   > . aipsinit.sh
    2626}}}
    2727
     
    2929  Download [http://www.atnf.csiro.au/pub/software/asap/asap_src.tar.bz2 asap_src]
    3030{{{
    31    tar jxvf asap_src.tar.bz2; cd asap2.0
     31   > tar jxvf asap_src.tar.bz2; cd asap2.0
    3232}}}
    3333
    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)
    3635
    3736{{{
    38    make
     37   > scons
    3938}}}
    4039  Check if the module works. If the following statement returns without a message, all is good!
    4140{{{
    42   cd /tmp; python -c "import _asap"; cd -
     41  > cd stage/asap; python -c "import _asap"; cd -
    4342}}}
    4443  Install it to the default location:
    4544{{{
    4645   su
    47    make install
     46   scons install
    4847}}}
    4948
     
    5251{{{
    5352   su
    54    cd /usr/share/asap
     53   cd /usr/lib/python2.3/site-packages/asap  # May be in a differen location on your machine
    5554   tar jxvf <download_directory>/asap_data.tar.bz2
    5655}}}