Changes between Version 34 and Version 35 of ASAPFedoraInstall


Ignore:
Timestamp:
05/07/10 15:06:40 (15 years ago)
Author:
Malte Marquarding
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ASAPFedoraInstall

    v34 v35  
    33The following system packages are needed:
    44{{{
    5 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk  atlas ipython
     5yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk  atlas lapack blas ipython wget wcslib
    66}}}
    77
    88== Binary packages ==
    9 For standard fedora core 9 as an example (replace fc9 part with fcN if other binaries are available)
     9For standard fedora core 12 as an example (replace fedora-12 part with fedora-n if other binaries are available)
    1010{{{
    11 wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.3.1-fc9.tar.bz2
     11wget http://www.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-fedora-12-x86_64.tar.bz2
    1212}}}
    1313
    1414{{{
    15 tar jxf asap-2.3.1-fc9.tar.bz2
    16 cd asap-2.3.1-fc9
     15tar jxf asap-3.0.0-fedora-12-x86_64.tar.bz2
     16cd asap-3.0.0-fedora-12-x86_64
    1717su
    18 ./install
     18./install -p /usr/local -m /usr/local/lib64/python2.6/site-packages
    1919}}}
    2020
    2121=== Notes ===
    2222
    23 If you get the following error:
     23If you something like following error:
    2424{{{
    2525Loading ASAP...
     
    3838To recitfy the problem as root or sudo execute
    3939{{{
    40 chcon -t texrel_shlib_t  /usr/lib/python2.5/site-packages/asap/_asap.so
     40chcon -t texrel_shlib_t  /usr/local/lib64/python2.6/site-packages/asap/_asap.so
    4141}}}
    4242
     
    4747As root
    4848{{{
    49 yum -y install gcc-gfortran gcc-c++ flex bison boost-devel python-devel atlas-devel cfitsio-devel python-matplotlib-tk ipython wget make
    50 }}}
    51 
    52 === Install scons-1.2 ===
    53 
    54 {{{
    55 wget http://prdownloads.sourceforge.net/scons/scons-1.2.0-1.noarch.rpm
    56 su
    57 rpm -i scons-1.2.0-1.noarch.rpm
    58 exit
     49yum -y install gcc-gfortran gcc-c++ flex bison boost-devel python-devel atlas-devel cfitsio-devel python-matplotlib-tk ipython wget make wcslib-devel
    5950}}}
    6051
    6152
    6253=== Install rpfits ===
     54
     55Note for 64bit you need to go to linux64 and also add {{{-fPIC}}} to {{{CFLAGS}}} and {{{FFLAGS}}}.
     56
    6357{{{
    6458wget ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz
     
    7367}}}
    7468
    75 === Install wcslib ===
    76 {{{
    77 wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz
    78 tar zxf wcslib.tar.gz
    79 cd wcslib-4.3.2
    80 ./configure
    81 make
    82 su
    83 make install
    84 # want to link statically, so remove shred library
    85 rm -f /usr/local/lib/libwcs.so*
    86 exit
    87 cd -
    88 }}}
    89 
    9069
    9170=== Install casacore ===
    9271
    9372{{{
    94 wget http://casacore.googlecode.com/files/casacore-0.4.1.tar.bz2
    95 tar jxf casacore-0.4.1.tar.bz2
    96 cd casacore-0.4.1
    97 ./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
     73wget http://casacore.googlecode.com/files/casacore-1.0.1.tar.bz2
     74tar jxf casacore-1.0.1.tar.bz2
     75cd casacore-1.0.1
     76scons --cfitsio-incdir=/usr/include/cfitsio
    9877su
    99 ./batchbuild.py install prefix=/usr/local
     78scons install
    10079exit
    10180cd -
     
    10685{{{
    10786wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap2.3.1-src.tar.bz2
    108 tar zxf asap2.3.1-src.tar.bz2
    109 cd asap2.3.1
     87tar zxf asap3.0.0-src.tar.bz2
     88cd asap3.0.0
    11089scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
    11190su
    112 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio install
     91scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio prefix=/usr/local moduledir=/usr/local/lib/python2.6/site-packages install
     92#or 64bit
     93#scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio prefix=/usr/local moduledir=/usr/local/lib64/python2.6/site-packages install
    11394exit
    11495}}}
     
    11697To help out other users please also create a binary package and replace the version fc9 in the following with your version:
    11798{{{
    118 scons makedist=fc9 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
     99scons makedist=fedora-12 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio
    119100}}}
    120101Then send a notification to mailto:malte.marquarding@csiro.au so I can add it to the ftp area.