| 1 | = Fedora Core 7 = |
| 2 | |
| 3 | {{{ |
| 4 | yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk python-numarray lapack blas ipython |
| 5 | }}} |
| 6 | |
| 7 | == Binary packages == |
| 8 | For standard fedora |
| 9 | {{{ |
| 10 | wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.1.2-fc7.tar.bz2 |
| 11 | }}} |
| 12 | |
| 13 | {{{ |
| 14 | tar jxf asap-2.1.2-fc7.tar.bz2 |
| 15 | cd asap-2.1.2-fc7 |
| 16 | su |
| 17 | ./install |
| 18 | }}} |
| 19 | |
| 20 | === Notes === |
| 21 | |
| 22 | If you get the following error: |
| 23 | {{{ |
| 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 | |
| 33 | }}} |
| 34 | |
| 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 |
| 36 | |
| 37 | To recitfy the problem as root or sudo execute |
| 38 | {{{ |
| 39 | chcon -t texrel_shlib_t /usr/lib/python2.5/site-packages/asap/_asap.so |
| 40 | }}} |
| 41 | |
| 42 | == From source == |
| 43 | |
| 44 | You need to install the corresponding "-devel" packages. |
| 45 | |
| 46 | As root |
| 47 | {{{ |
| 48 | |
| 49 | }}} |