Opened 16 years ago

Closed 16 years ago

#141 closed defect (fixed)

Installing ASAP on Fedora 9

Reported by: philip.wakeling@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 2.3
Component: General Version: 2.0
Severity: normal Keywords: Fedora 9
Cc: andrew.walsh@…

Description

I have been using asap with fc7. My old laptop died and I bought a new one. Fedora 7 doesn't have a driver for the DVDRW drive and won't install, so I installed the new Fedora 9.

When I installed asap (using the fc7 instructions) there is a problem with a python lib that is "not available"

Following is a copy of the installation session:

[Phil@localhost ~]$ su Password: [Phil@localhost Phil]# yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk lapack blas ipython Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Package libstdc++-4.3.0-8.i386 already installed and latest version Package libgfortran-4.3.0-8.i386 already installed and latest version Package boost-1.34.1-15.fc9.i386 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package ipython.noarch 0:0.8.2-1.fc9 set to be updated ---> Package python-matplotlib-tk.i386 0:0.91.2-2.fc9 set to be updated --> Processing Dependency: libtcl8.5.so for package: python-matplotlib-tk --> Processing Dependency: libtk8.5.so for package: python-matplotlib-tk --> Processing Dependency: python-matplotlib = 0.91.2-2.fc9 for package: python-matplotlib-tk --> Processing Dependency: tkinter for package: python-matplotlib-tk ---> Package cfitsio.i386 0:3.060-3.fc9 set to be updated ---> Package blas.i386 0:3.1.1-4.fc9 set to be updated ---> Package lapack.i386 0:3.1.1-4.fc9 set to be updated --> Running transaction check ---> Package tcl.i386 1:8.5.2-2.fc9 set to be updated ---> Package python-matplotlib.i386 0:0.91.2-2.fc9 set to be updated --> Processing Dependency: pytz for package: python-matplotlib --> Processing Dependency: python-dateutil for package: python-matplotlib --> Processing Dependency: numpy for package: python-matplotlib ---> Package tk.i386 1:8.5.2-1.fc9 set to be updated ---> Package tkinter.i386 0:2.5.1-26.fc9 set to be updated --> Processing Dependency: libTix.so for package: tkinter --> Running transaction check ---> Package numpy.i386 0:1.1.0-1.fc9 set to be updated ---> Package python-dateutil.noarch 0:1.2-2.fc9 set to be updated ---> Package tix.i386 1:8.4.2-5.fc9 set to be updated ---> Package pytz.noarch 0:2006p-3.fc9 set to be updated --> Finished Dependency Resolution

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

============================================================================= Installing:

blas i386 3.1.1-4.fc9 updates 355 k cfitsio i386 3.060-3.fc9 fedora 1.4 M ipython noarch 0.8.2-1.fc9 fedora 1.6 M lapack i386 3.1.1-4.fc9 updates 3.7 M python-matplotlib-tk i386 0.91.2-2.fc9 fedora 63 k

Installing for dependencies:

numpy i386 1.1.0-1.fc9 updates 2.7 M python-dateutil noarch 1.2-2.fc9 fedora 165 k python-matplotlib i386 0.91.2-2.fc9 fedora 4.4 M pytz noarch 2006p-3.fc9 fedora 584 k tcl i386 1:8.5.2-2.fc9 updates 2.2 M tix i386 1:8.4.2-5.fc9 fedora 268 k tk i386 1:8.5.2-1.fc9 updates 1.5 M tkinter i386 2.5.1-26.fc9 updates 219 k

Transaction Summary ============================================================================= Install 13 Package(s) Update 0 Package(s) Remove 0 Package(s)

Total download size: 19 M Downloading Packages: (1/13): python-matplotlib-tk-0.91.2-2.fc9.i386.rpm | 63 kB 00:00 (2/13): python-dateutil-1.2-2.fc9.noarch.rpm | 165 kB 00:00 (3/13): tkinter-2.5.1-26.fc9.i386.rpm | 219 kB 00:00 (4/13): tix-8.4.2-5.fc9.i386.rpm | 268 kB 00:01 (5/13): blas-3.1.1-4.fc9.i386.rpm | 355 kB 00:00 (6/13): pytz-2006p-3.fc9.noarch.rpm | 584 kB 00:02 (7/13): cfitsio-3.060-3.fc9.i386.rpm | 1.4 MB 00:05 (8/13): tk-8.5.2-1.fc9.i386.rpm | 1.5 MB 00:06 (9/13): ipython-0.8.2-1.fc9.noarch.rpm | 1.6 MB 00:06 (10/13): tcl-8.5.2-2.fc9.i386.rpm | 2.2 MB 00:07 (11/13): numpy-1.1.0-1.fc9.i386.rpm | 2.7 MB 00:06 (12/13): lapack-3.1.1-4.fc9.i386.rpm | 3.7 MB 00:09 (13/13): python-matplotlib-0.91.2-2.fc9.i386.rpm | 4.4 MB 00:18 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction

Installing : tcl [ 1/13] Installing : tk [ 2/13] Installing : blas [ 3/13] Installing : python-dateutil [ 4/13] Installing : pytz [ 5/13] Installing : lapack [ 6/13] Installing : numpy [ 7/13] Installing : python-matplotlib [ 8/13] Installing : tix [ 9/13] Installing : tkinter [10/13] Installing : cfitsio [11/13] Installing : ipython [12/13] Installing : python-matplotlib-tk [13/13]

Installed: blas.i386 0:3.1.1-4.fc9 cfitsio.i386 0:3.060-3.fc9 ipython.noarch 0:0.8.2-1.fc9 lapack.i386 0:3.1.1-4.fc9 python-matplotlib-tk.i386 0:0.91.2-2.fc9 Dependency Installed: numpy.i386 0:1.1.0-1.fc9 python-dateutil.noarch 0:1.2-2.fc9 python-matplotlib.i386 0:0.91.2-2.fc9 pytz.noarch 0:2006p-3.fc9 tcl.i386 1:8.5.2-2.fc9 tix.i386 1:8.4.2-5.fc9 tk.i386 1:8.5.2-1.fc9 tkinter.i386 0:2.5.1-26.fc9 Complete! [Phil@localhost Phil]# wget http://www.atnf.csiro.au/pub/software/asap/current/asap-2.2.0-fc7.tar.bz2 --2008-08-09 17:58:09-- http://www.atnf.csiro.au/pub/software/asap/current/asap-2.2.0-fc7.tar.bz2 Resolving www.atnf.csiro.au... 150.229.106.28 Connecting to www.atnf.csiro.au|150.229.106.28|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10114999 (9.6M) [application/x-tar] Saving to: `asap-2.2.0-fc7.tar.bz2'

100%[======================================>] 10,114,999 136K/s in 74s

2008-08-09 17:59:34 (134 KB/s) - `asap-2.2.0-fc7.tar.bz2' saved [10114999/10114999]

[Phil@localhost Phil]# tar jxf asap-2.2.0-fc7.tar.bz2 [Phil@localhost Phil]# cd asap-2.2.0-fc7 [Phil@localhost asap-2.2.0-fc7]# ./install Looking fo all required libraries...

The following libraries are missing:

['libboost_python.so.2', 'libgfortran.so.1'] [Phil@localhost asap-2.2.0-fc7]# chcon -t texrel_shlib_t /usr/lib/python2.5/site-packages/asap/_asap.so chcon: cannot access `/usr/lib/python2.5/site-packages/asap/_asap.so': No such file or directory [Phil@localhost Phil]# yum -y install cfitsio libstdc++ libgfortran boost python-matplotlib-tk lapack blas ipython Loaded plugins: refresh-packagekit fedora | 2.4 kB 00:00 updates | 2.3 kB 00:00 Setting up Install Process Parsing package install arguments Package cfitsio-3.060-3.fc9.i386 already installed and latest version Package libstdc++-4.3.0-8.i386 already installed and latest version Package libgfortran-4.3.0-8.i386 already installed and latest version Package boost-1.34.1-15.fc9.i386 already installed and latest version Package python-matplotlib-tk-0.91.2-2.fc9.i386 already installed and latest version Package lapack-3.1.1-4.fc9.i386 already installed and latest version Package blas-3.1.1-4.fc9.i386 already installed and latest version Package ipython-0.8.2-1.fc9.noarch already installed and latest version Nothing to do [Phil@localhost Phil]# yum install libboost_python.so.2 libgfortran.so.1 Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments No package libboost_python.so.2 available. Resolving Dependencies --> Running transaction check ---> Package compat-libgfortran-41.i386 0:4.1.2-36 set to be updated --> Finished Dependency Resolution

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

============================================================================= Installing:

compat-libgfortran-41 i386 4.1.2-36 fedora 129 k

Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s)

Total download size: 129 k Is this ok [y/N]: y Downloading Packages: (1/1): compat-libgfortran-41-4.1.2-36.i386.rpm | 129 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction

Installing : compat-libgfortran-41 [1/1]

Installed: compat-libgfortran-41.i386 0:4.1.2-36 Complete! [Phil@localhost Phil]# chcon -t texrel_shlib_t /usr/lib/python2.5/site-packages/asap/_asap.so chcon: cannot access `/usr/lib/python2.5/site-packages/asap/_asap.so': No such file or directory [Phil@localhost Phil]# cd asap-2.2.0-fc7 [Phil@localhost asap-2.2.0-fc7]# chcon -t texrel_shlib_t /usr/lib/python2.5/site-packages/asap/_asap.so chcon: cannot access `/usr/lib/python2.5/site-packages/asap/_asap.so': No such file or directory [Phil@localhost asap-2.2.0-fc7]#

Any Ideas?

Phil Wakeling philip.wakeling@…

Change History (2)

comment:1 by Malte Marquarding, 16 years ago

Milestone: ASAP 2.2ASAP 2.3
Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

comment:2 by Malte Marquarding, 16 years ago

Resolution: fixed
Status: assignedclosed

I have added instructions to the wiki ASAPFedoraInstall. There is also a binary release on the ftp server (see wiki page).

Note: See TracTickets for help on using tickets.