Changes between Version 39 and Version 40 of ASAPFedoraInstall


Ignore:
Timestamp:
09/15/11 11:19:07 (13 years ago)
Author:
Malte Marquarding
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ASAPFedoraInstall

    v39 v40  
    33The following system packages are needed:
    44{{{
    5 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk  atlas lapack blas ipython wget wcslib
     5yum -y install python-matplotlib-tk atlas boost-python ipython wcslib cfitsio
    66}}}
    77
    88== Binary packages ==
    9 For standard fedora core 12 as an example (replace fedora-12 part with fedora-n if other binaries are available)
     9For standard fedora core 14 (64bit) as an example
    1010{{{
    11 wget http://www.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-fedora-12-x86_64.tar.bz2
     11wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/fedora/FC14/x86_64/asap-3.1.0-py2.7.egg
    1212}}}
    1313
     14Become root user
    1415{{{
    15 tar jxf asap-3.0.0-fedora-12-x86_64.tar.bz2
    16 cd asap-3.0.0-fedora-12-x86_64
    17 su
    18 ./install -p /usr/local -m /usr/local/lib64/python2.6/site-packages
     16easy_install asap-3.1.0-py2.7.egg
     17}}}
     18
     19Then run as normal user
     20{{{
     21asap
     22}}}
     23and exit
     24
     25The as root
     26{{{
     27asap_update_data
    1928}}}
    2029
     
    2736Traceback (most recent call last):
    2837  File "<string>", line 1, in ?
    29   File "/usr/lib/python2.5/site-packages/asap/__init__.py", line 314, in ?
     38  File "/usr/local/lib/python2.7/site-packages/asap/__init__.py", line 314, in ?
    3039    from asap._asap import Log as _asaplog
    31 ImportError: /usr/lib/python2.5/site-packages/asap/_asap.so: cannot
     40ImportError: /usr/lib/python2.7/site-packages/asap/_asap.so: cannot
    3241restore segment prot after reloc: Permission denied
    3342
     
    3847To recitfy the problem as root or sudo execute
    3948{{{
    40 chcon -t texrel_shlib_t  /usr/local/lib64/python2.6/site-packages/asap/_asap.so
     49chcon -t texrel_shlib_t  /usr/local/lib64/python2.7/site-packages/asap/_asap.so
    4150}}}
    4251