OK, I did
yum search gfortran*

which returned
gcc-gfortran

so I did
yum install gcc-fortran
which installed a number of things including libgfortran

However, when I use a shell to enter the sage directory (that I renamed sage431) created from extracting the lzma file to my Desktop directory in my /home directory and execute
./sage

I get a welcome message like:
******************************************************
Sage Version 4.3.1, Release Date: 2010-01-20
Type notebook() for the GUI, and license() for information
******************************************************
/home/shadowfax/Desktop/sage431/local/bin/python: /home/shadowfax/Desktop/sage431/local/bin/python:
cannot execute binary file

So, what now?

HTH,
A. Jorge Garcia
http://calcpage.tripod.com

Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College


-----Original Message-----
From: Dr. David Kirkby <[email protected]>
To: [email protected]
Sent: Fri, Feb 5, 2010 8:38 am
Subject: Re: [sage-support] Re: [sage-edu] Installing SAGE 4.3.1 on Fedora 12 with x86_64

Jaap Spies wrote:
Minh Nguyen wrote:
Hi,

I think this email properly belongs to sage-support.

On Fri, Feb 5, 2010 at 12:16 PM, A. Jorge Garcia<[email protected]>
wrote:
[...]

One thing comes to mind. The download page (Harvard?) said
something
about apt-getting gfortran before running SAGE. Well, that's a
Debian
command, so I tried "yum install gfortran" but Fedora didn't find
it.
I was hoping that gfortran was only needed when compiling from
source,
not when running the binaries....


You need probably:
Name       : gcc-gfortran
[...]
Name       : libgfortran
[...]
Description: This package contains Fortran shared library which is
needed to run
           : Fortran dynamically linked programs.

Jaap


You also need the C and C++ libraries. It is not just the fortran libraries. People probably get away without having them, as they will have gcc installed, which includes those libraries. This is risky if their gcc version is older.

I installed

http://t2nb.math.washington.edu:8000/

as a 'zone' in Solaris. The default zone is to include only the bare minium of
the operating system. I have purposely not installed gcc in the zone.

As soon as Sage starts, it will fail due to the lack of C/C++ libraries.

I included the C, C++ and Fortran libraries in the binary I put on 't2' at

/usr/local/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v/sage

Using LZMA compression, the binary is only 300 MB. The libraries don't add a lot overall to Sage, but should make it more reliable, especially if someone is not
running the latest versions of everything.

Dave

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to