Changes between Version 39 and Version 40 of ASAPFedoraInstall
- Timestamp:
- 09/15/11 11:19:07 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASAPFedoraInstall
v39 v40 3 3 The following system packages are needed: 4 4 {{{ 5 yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk atlas lapack blas ipython wget wcslib5 yum -y install python-matplotlib-tk atlas boost-python ipython wcslib cfitsio 6 6 }}} 7 7 8 8 == Binary packages == 9 For standard fedora core 1 2 as an example (replace fedora-12 part with fedora-n if other binaries are available)9 For standard fedora core 14 (64bit) as an example 10 10 {{{ 11 wget http://www.atnf.csiro.au/pub/software/asap/current/asap-3.0.0-fedora-12-x86_64.tar.bz211 wget ftp://ftp.atnf.csiro.au/pub/software/asap/current/fedora/FC14/x86_64/asap-3.1.0-py2.7.egg 12 12 }}} 13 13 14 Become root user 14 15 {{{ 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 16 easy_install asap-3.1.0-py2.7.egg 17 }}} 18 19 Then run as normal user 20 {{{ 21 asap 22 }}} 23 and exit 24 25 The as root 26 {{{ 27 asap_update_data 19 28 }}} 20 29 … … 27 36 Traceback (most recent call last): 28 37 File "<string>", line 1, in ? 29 File "/usr/l ib/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 ? 30 39 from asap._asap import Log as _asaplog 31 ImportError: /usr/lib/python2. 5/site-packages/asap/_asap.so: cannot40 ImportError: /usr/lib/python2.7/site-packages/asap/_asap.so: cannot 32 41 restore segment prot after reloc: Permission denied 33 42 … … 38 47 To recitfy the problem as root or sudo execute 39 48 {{{ 40 chcon -t texrel_shlib_t /usr/local/lib64/python2. 6/site-packages/asap/_asap.so49 chcon -t texrel_shlib_t /usr/local/lib64/python2.7/site-packages/asap/_asap.so 41 50 }}} 42 51