Installing Sage 6.8 on OSX 10.10
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?
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.