Changes between Version 21 and Version 22 of ASAPFedoraInstall
- Timestamp:
- 03/17/09 11:29:06 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPFedoraInstall
v21 v22 1 = Installing ASAP on Fedora = 2 3 A binary version of ASAP 2.1, compiled on Fedora Core 3 is [ftp://ftp.atnf.csiro.au/pub/software/asap/current/asap-2.1.0_fc3.tar.bz2 available]. This may work on newer versions of Fedora - please give feedback. 4 5 Alternatively you can install from [wiki:ASAPSourceInstall source]. 6 7 You will need to also install matplotlib from source (http://sourceforge.net/projects/matplotlib). 8 9 The following packages are required for a install binary (and source) install. Additional packages for source install are also required (below): 1 = Fedora Core = 10 2 11 3 {{{ 12 blas lapack python boost libf2c tk tcl tkinter 4 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk atlas ipython 13 5 }}} 14 6 15 The following packages are needed from the "dag" repository 7 == Binary packages == 8 For standard fedora core 9 as an example (replace fc9 part with fcN if other binaries are available) 9 {{{ 10 wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.3.0-fc9.tar.bz2 11 }}} 16 12 17 13 {{{ 18 python-numarray ipython 14 tar jxf asap-2.3.0-fc9.tar.bz2 15 cd asap-2.2.0-fc9 16 su 17 ./install 19 18 }}} 20 19 21 The following packages are needed from the "extras" repository 20 === Notes === 22 21 22 If you get the following error: 23 23 {{{ 24 cfitsio 24 Loading ASAP... 25 ------------------------------------------------------------ 26 Traceback (most recent call last): 27 File "<string>", line 1, in ? 28 File "/usr/lib/python2.5/site-packages/asap/__init__.py", line 314, in ? 29 from asap._asap import Log as _asaplog 30 ImportError: /usr/lib/python2.5/site-packages/asap/_asap.so: cannot 31 restore segment prot after reloc: Permission denied 32 25 33 }}} 26 34 27 The following are needed for matplotlib 35 Fedora is using SElinux, which makes life hell for the user. Kinda like Windows Vista, protect the system by not allowing the user to use anything 28 36 37 To recitfy the problem as root or sudo execute 29 38 {{{ 30 freetype libpng zlib xorg-x11-libs 39 chcon -t texrel_shlib_t /usr/lib/python2.5/site-packages/asap/_asap.so 31 40 }}} 32 41 33 To install asap from source the following additional packages are needed 42 == From source == 34 43 44 You need to install the corresponding "-devel" packages. 45 46 As root 35 47 {{{ 36 scons gcc-c++ 48 yum install gcc-gfortran gcc-c++ flex bison boost-devl python-devel atlas-devel cfitsio-devel python-matplotlib-tk ipython 37 49 }}} 38 39 To install matplotlib from source these packages are needed40 41 {{{42 tk-devel tcl-devel libpng-devel freetype-devel zlib-devel43 }}}44 45 The following packages should not be needed, unless you forgot to disable some of the matplotlib backends.46 {{{47 gnome-libs-devel gtk2-devel gtk+-devel pygtk2 glib-devel pygtk2-devel48 }}}49 50 51 To access the dag repository create a file in /etc/yum.repos.d called52 dag.repo and put the following text in it.53 {{{54 [dag]55 name=DAG56 baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/57 enabled=158 gpgcheck=059 }}}60 61 To access the extras repository create a file in /etc/yum.repos.d called62 fedora-extras.repo and put the following text in it.63 {{{64 [extras]65 name=Fedora Extras - $releasever - $basearch66 baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$b67 asearch/68 gpgcheck=169 gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fed70 ora-Extras71 }}}72 73 74