wiki:ASAPFedora5Install

Version 14 (modified by Malte Marquarding, 18 years ago) ( diff )

--

Fedora Core 5

yum install cfitsio libstdc++ compat-libf2c-32 boost python-matplotlib-tk python-numarray lapack blas ipython

Binary packages

For standard fedora

wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.1.1-fc5.tar.bz2

for 64bit fedora

wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.1.1-fc5-x86_64.tar.bz2
tar jxf asap-2.1.1-fc5.tar.bz2
cd asap-2.1.1-fc5
su
./install

or

tar jxf asap-2.1.1-fc5-x86_64.tar.bz2
cd asap-2.1.1-fc5-x86_64
su
./install

Notes

If you get the following error:

Loading ASAP...
------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/asap/__init__.py", line 314, in ?
    from asap._asap import Log as _asaplog
ImportError: /usr/lib/python2.4/site-packages/asap/_asap.so: cannot
restore segment prot after reloc: Permission denied

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

To recitfy the problem as root or sudo execute

chcon -t texrel_shlib_t  /usr/lib/python2.4/site-packages/asap/_asap.so

From source

You need to install the corresponding "-devel" packages.

As root

Note: See TracWiki for help on using the wiki.