Changes between Version 34 and Version 35 of ASAPFedoraInstall
- Timestamp:
- 05/07/10 15:06:40 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPFedoraInstall
v34 v35 3 3 The following system packages are needed: 4 4 {{{ 5 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk atlas ipython5 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk atlas lapack blas ipython wget wcslib 6 6 }}} 7 7 8 8 == Binary packages == 9 For standard fedora core 9 as an example (replace fc9 part with fcNif other binaries are available)9 For standard fedora core 12 as an example (replace fedora-12 part with fedora-n if other binaries are available) 10 10 {{{ 11 wget http://www.atnf.csiro.au/pub/software/asap/current/asap- 2.3.1-fc9.tar.bz211 wget http://www.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-fedora-12-x86_64.tar.bz2 12 12 }}} 13 13 14 14 {{{ 15 tar jxf asap- 2.3.1-fc9.tar.bz216 cd asap- 2.3.1-fc915 tar jxf asap-3.0.0-fedora-12-x86_64.tar.bz2 16 cd asap-3.0.0-fedora-12-x86_64 17 17 su 18 ./install 18 ./install -p /usr/local -m /usr/local/lib64/python2.6/site-packages 19 19 }}} 20 20 21 21 === Notes === 22 22 23 If you get the following error:23 If you something like following error: 24 24 {{{ 25 25 Loading ASAP... … … 38 38 To recitfy the problem as root or sudo execute 39 39 {{{ 40 chcon -t texrel_shlib_t /usr/l ib/python2.5/site-packages/asap/_asap.so40 chcon -t texrel_shlib_t /usr/local/lib64/python2.6/site-packages/asap/_asap.so 41 41 }}} 42 42 … … 47 47 As root 48 48 {{{ 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 49 yum -y install gcc-gfortran gcc-c++ flex bison boost-devel python-devel atlas-devel cfitsio-devel python-matplotlib-tk ipython wget make wcslib-devel 59 50 }}} 60 51 61 52 62 53 === Install rpfits === 54 55 Note for 64bit you need to go to linux64 and also add {{{-fPIC}}} to {{{CFLAGS}}} and {{{FFLAGS}}}. 56 63 57 {{{ 64 58 wget ftp://ftp.atnf.csiro.au/pub/software/rpfits/rpfits.tar.gz … … 73 67 }}} 74 68 75 === Install wcslib ===76 {{{77 wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.gz78 tar zxf wcslib.tar.gz79 cd wcslib-4.3.280 ./configure81 make82 su83 make install84 # want to link statically, so remove shred library85 rm -f /usr/local/lib/libwcs.so*86 exit87 cd -88 }}}89 90 69 91 70 === Install casacore === 92 71 93 72 {{{ 94 wget http://casacore.googlecode.com/files/casacore- 0.4.1.tar.bz295 tar jxf casacore- 0.4.1.tar.bz296 cd casacore- 0.4.197 ./batchbuild.py blaslibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio73 wget http://casacore.googlecode.com/files/casacore-1.0.1.tar.bz2 74 tar jxf casacore-1.0.1.tar.bz2 75 cd casacore-1.0.1 76 scons --cfitsio-incdir=/usr/include/cfitsio 98 77 su 99 ./batchbuild.py install prefix=/usr/local78 scons install 100 79 exit 101 80 cd - … … 106 85 {{{ 107 86 wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap2.3.1-src.tar.bz2 108 tar zxf asap 2.3.1-src.tar.bz2109 cd asap 2.3.187 tar zxf asap3.0.0-src.tar.bz2 88 cd asap3.0.0 110 89 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 111 90 su 112 scons lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio install 91 scons 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 113 94 exit 114 95 }}} … … 116 97 To help out other users please also create a binary package and replace the version fc9 in the following with your version: 117 98 {{{ 118 scons makedist=f c9lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio99 scons makedist=fedora-12 lapacklibdir=/usr/lib/atlas cfitsioincdir=/usr/include/cfitsio 119 100 }}} 120 101 Then send a notification to mailto:malte.marquarding@csiro.au so I can add it to the ftp area.