Changes between Version 21 and Version 22 of ASAPFedoraInstall


Ignore:
Timestamp:
03/17/09 11:29:06 (16 years ago)
Author:
Malte Marquarding
Comment:

--

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  =
    102
    113{{{
    12   blas lapack python boost libf2c tk tcl tkinter
     4yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk  atlas ipython
    135}}}
    146
    15 The following packages are needed from the "dag" repository
     7== Binary packages ==
     8For standard fedora core 9 as an example (replace fc9 part with fcN if other binaries are available)
     9{{{
     10wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.3.0-fc9.tar.bz2
     11}}}
    1612
    1713{{{
    18   python-numarray ipython
     14tar jxf asap-2.3.0-fc9.tar.bz2
     15cd asap-2.2.0-fc9
     16su
     17./install
    1918}}}
    2019
    21 The following packages are needed from the "extras" repository
     20=== Notes ===
    2221
     22If you get the following error:
    2323{{{
    24   cfitsio
     24Loading ASAP...
     25------------------------------------------------------------
     26Traceback (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
     30ImportError: /usr/lib/python2.5/site-packages/asap/_asap.so: cannot
     31restore segment prot after reloc: Permission denied
     32
    2533}}}
    2634
    27 The following are needed for matplotlib
     35Fedora 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
    2836
     37To recitfy the problem as root or sudo execute
    2938{{{
    30   freetype libpng zlib xorg-x11-libs
     39chcon -t texrel_shlib_t  /usr/lib/python2.5/site-packages/asap/_asap.so
    3140}}}
    3241
    33 To install asap from source the following additional packages are needed
     42== From source ==
    3443
     44You need to install the corresponding "-devel" packages.
     45
     46As root
    3547{{{
    36   scons gcc-c++
     48yum install gcc-gfortran gcc-c++ flex bison boost-devl python-devel atlas-devel cfitsio-devel python-matplotlib-tk ipython
    3749}}}
    38 
    39 To install matplotlib from source these packages are needed
    40 
    41 {{{
    42   tk-devel tcl-devel libpng-devel freetype-devel zlib-devel
    43 }}}
    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-devel
    48 }}}
    49 
    50 
    51 To access the dag repository create a file in /etc/yum.repos.d called
    52 dag.repo and put the following text in it.
    53   {{{
    54 [dag]
    55 name=DAG
    56 baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
    57 enabled=1
    58 gpgcheck=0
    59 }}}
    60 
    61 To access the extras repository create a file in /etc/yum.repos.d called
    62 fedora-extras.repo and put the following text in it.
    63   {{{
    64 [extras]
    65 name=Fedora Extras - $releasever - $basearch
    66 baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$b
    67 asearch/
    68 gpgcheck=1
    69 gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fed
    70 ora-Extras
    71 }}}
    72 
    73 
    74