Ask Your Question
1

Where is Sage for Mountain Lion OSX 10.8.5?

asked 2020-04-23 22:00:49 +0100

mrob27 gravatar image

updated 2020-04-30 03:58:03 +0100

I cannot find a download site or mirror with anything prior to OSX 10.11


(Answered by slelievre, Xcode 5.1.1 is all that's needed to build from source)

USE THE README.txt or README.md INSIDE THE OLD VERSION'S tar.gz, NOT ANY MORE RECENT BUILD INSTRUCTIONS

edit retag flag offensive close merge delete

Comments

That OS is about 7 years old, so maybe it's not surprising. Have you tried one of the OS X 10.11 binaries? Have you tried building from scratch?

John Palmieri gravatar imageJohn Palmieri ( 2020-04-23 23:15:41 +0100 )edit

I am currently running Sage 5.6 on this system, which I was able to install from a DMG I archived on an even older system. But I should be able to run something newer, like version 6.9 which runs on Mac OS X 10.7.

I'm working from home and this is the system I have. I can't afford a new one and I can't upgrade it because I have other maths-related work that will break if I upgrade its Mac OS.

Whatever reason would there be to delete Sage versions from all of the mirrors? That's just cruel.

mrob27 gravatar imagemrob27 ( 2020-04-24 06:44:02 +0100 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-04-25 14:53:25 +0100

slelievre gravatar image

updated 2020-04-26 00:20:35 +0100

The source tarballs for older SageMath versions are at

Compiling from source on macOS will require installing Apple's "Command-Line Tools for Developers".


Command-line tools should be enough.

Suggested commands to build Sage:

make configure
./configure
make openssl
make -s V=0

Some SageMath functionality is improved when extra software is available, e.g. imagemagick and ffmpeg help make animations out of Sage graphics.

The html documentation will be built and can be browsed locally at this local url:

file:///path/to/sagedir/local/share/doc/sage/html/en/installation

where /path/to/sagedir should be replaced with the actual full path to the Sage directory, which depending on where Sage was installed could be /Users/username/SageMath or /opt/sagemath or /Applications/SageMath or whatever location was chosen.

To compile the pdf documentation, a working LaTeX installation is required, such as the one provided by TeXLive or MacTeX, with babel language files for various languages.

Sage installs its own Python and all the Python libraries it needs. Extra Python packages can be installed by running

sage --pip install something

and other extra software by running

sage -i something

Let us know what version of SageMath builds there. Happy to recommend extra software depending on particular area of math.

edit flag offensive delete link more

Comments

Is Xcode command-line tools enough, or do I also have to get a lot of other software installed too (like I̶m̶a̶g̶e̶M̶a̶g̶i̶c̶k̶, ghostscript, f̶f̶m̶p̶e̶g̶, and hundreds of separate Python libraries)? . . . edit: I'm looking at the compile instructions again, and it seems a lot of the things they mention are optional... so I guess I'll just try it!

mrob27 gravatar imagemrob27 ( 2020-04-25 22:57:59 +0100 )edit

Edited (after horizontal line) to answer follow-up question added as a comment to initial answer.

Once built on one computer, easy to install on other computers with same macOS version.

slelievre gravatar imageslelievre ( 2020-04-26 00:22:59 +0100 )edit

Thank you very much, quite helpful. Current compile instructions are probably different from 7 years ago, hopefully correct instructions are in each tarball.

I only really want Sage for Maxima, plus the confidence of being able to do group theory if I need it.

Maxima is hard to get any other way because Macports have abandoned their original mission of being able to build older versions of software on older systems (you now must use git on a new machine to checkout an old version of MacPorts' "portfile tree", then tarball and transfer to the old machine; even then you can build only things whose tar.gz files have not been vacuously deleted from the servers and mirrors).

I'll follow up after I've built various Sage versions.

mrob27 gravatar imagemrob27 ( 2020-04-26 00:32:59 +0100 )edit

Version 7.2 builds perfectly on Mac OS 10.8.5, Xcode 5.1.1, Apple Clang 4.0, no problems.

PLEASE USE THE BUILD INSTRUCTIONS INSIDE THE TAR.GZ'S README.txt OR README.md. ANY NEWER BUILD INSTRUCTIONS ARE NOT RELEVANT.

update: 6.9 also builds; 7.4 does not build (OpenBLAS), I'm currently testing 7.3.

I made a little script that prepares the PATH and LD_LIBRARY_PATH and saves output to a logfile, and it ran all the way through with no need for user interaction. Brilliant!

mrob27 gravatar imagemrob27 ( 2020-04-26 15:49:09 +0100 )edit
1

Suggestion: write all the useful information for building in macOS 10.8 as an answer to this question, and share your script there too.

If anyone else needs to build on macOS 10.8 and finds this question, they will appreciate an answer by someone who managed to do it.

slelievre gravatar imageslelievre ( 2020-04-27 14:32:08 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-04-23 22:00:49 +0100

Seen: 419 times

Last updated: Apr 30 '20