Ask Your Question
1

Installing Sage 6.8 on OSX 10.10

asked 2015-08-12 06:49:21 +0200

jox58 gravatar image

updated 2015-10-22 21:31:22 +0200

FrédéricC gravatar image

After several days of attempting to install Sage on my MacBook (mid 2010) I'm about to give up.

First, I tried the binaries. Both the traditional version sage-6.8-x86_64-Darwin-OSX_10.10_x86_64.dmg and the app version sage-6.8-x86_64-Darwin-OSX_10.10_x86_64-app.dmg gave me an Unhandled SIGILL error when I attempted to run the simple expression 1.1+1.0 . The sage --testall failed with the same error in many tests.

I then attempted to build sage from the source code. The default Xcode clang compiler didn't work. Maybe because it doesn't have fortran and other prerequisites. I then downloaded and built the GNU gcc compiler. After several failed attempts to build sage with that I finally tried building sage with it's internal gcc compiler [export SAGE_INSTALL_GCC=yes] ... and that failed too. Both my built GNU gcc and sage's internal gcc compilers gave me the same error:

configure: Configuring included Boehm GC library:
/Users/<myid>/sage-6.8/local/var/tmp/sage/build/ecl-13.5.1.p0/src/src/configure: line 5963: /Users/<myid>/sage-6.8/local/var/tmp/sage/build/ecl-13.5.1.p0/src/src/gc-unstable/configure: No such file or directory
configure: error: Unable to configure Boehm-Weiser GC
Error - Failed to configure ECL ... exiting

Before I quit, can anyone offer any advice on what I should do?

edit retag flag offensive close merge delete

Comments

Do you see a line like "checking whether we can use the existing Boehm-Weiser library ... yes" in sage/logs/pkgs/ecl-13.5.1.p0.log? Or does it say "no" at the end? Do you have fink or homebrew installed? Those should be disabled before building Sage, and their presence could be confusing the build process.

John Palmieri gravatar imageJohn Palmieri ( 2015-08-13 17:24:26 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-08-12 17:27:01 +0200

updated 2015-08-12 17:27:25 +0200

Quoting from README.txt:

OS X: Xcode. Make sure you have installed the most recent version of Xcode. With recent versions of OS X (OS X Lion or later), you can install Xcode for free from the App Store. For pre-Lion versions of OS X, you can download Xcode from http://developer.apple.com/downloads/.

With OS X, you also need to install the "command line tools". When using OS X Mavericks, after installing Xcode, run this command from a terminal window:

  xcode-select --install

Have you followed these directions? If not, do these, try make distclean, and try building again.

edit flag offensive delete link more

Comments

Yes, I have the most current Xcode. xcode-select --install says command line tools are already installed and all my software is up to date.

jox58 gravatar imagejox58 ( 2015-08-12 17:56:32 +0200 )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

1 follower

Stats

Asked: 2015-08-12 06:49:21 +0200

Seen: 758 times

Last updated: Aug 12 '15