ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 11 Aug 2015 23:49:21 -0500Installing Sage 6.8 on OSX 10.10http://ask.sagemath.org/question/28822/installing-sage-68-on-osx-1010/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?jox58Tue, 11 Aug 2015 23:49:21 -0500http://ask.sagemath.org/question/28822//sage: line 334: path/sage-ipython: Permission deniedhttp://ask.sagemath.org/question/26256/sage-line-334-pathsage-ipython-permission-denied/I get an error like this one when I try to start sage.
/sage: line 334: path/sage-ipython: Permission denied
It does start (with related errors), however, when I run
$ sudo sage
I might need help providing the right details, but here goes:
usrname$ sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.5, Release Date: 2015-02-17 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
/Users/usrname/sage/src/bin/sage: line 334: /Users/usrname/sage/src/bin/sage-ipython: Permission denied
/Users/usrname/sage/src/bin/sage: line 334: exec: /Users/usrname/sage/src/bin/sage-ipython: cannot execute: Undefined error: 0
I get a different error using sudo.
usrname:~ usrname$ sudo sage
sys:1: RuntimeWarning: not adding directory '' to sys.path since it's not owned by a trusted user.
Untrusted users could put files in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.5, Release Date: 2015-02-17 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: quit()
Exiting Sage (CPU time 0m0.19s, Wall time 3m1.92s).
I also tried it with sage in
/Applications/sage
Same problems.
and I also tried installing the Sage.app (in Applications), but this failed as well (Error 500, presumably for the same reasons as the above errors)
The permissions in my home folder install are
usrname (ME) read and write, staff Read only, everyone Read only
My /Applications folder additionally has (this motivated me to try it in the home folder)
system read and write
I have checked that I'm using the right sage install by using for my sage command
sudo ln -s ~/sage/sage /usr/local/bin/sage
and checking that I was not overriding this with something else in my path. Also,
usrname:sage usrname$ which sage
/usr/local/bin/sage
alejandroericksonThu, 19 Mar 2015 17:32:14 -0500http://ask.sagemath.org/question/26256/Trouble installing nauty on Mac OS X 10.10http://ask.sagemath.org/question/24795/trouble-installing-nauty-on-mac-os-x-1010/ Hi all,
I am trying to install nauty on the new Mac operating system. When I run "sage -i nauty 25" in terminal, I get the following error message:
checking build system type... i686-apple-darwin14.0.0
checking host system type... i686-apple-darwin14.0.0
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Applications/sage/local/var/tmp/sage/build/nauty-25/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error configuring nauty.
I have Xcode downloaded and have installed the newest update of the Command Line Tools for OS X 10.10. Any suggestions?
Thanks!
Edit: My config.log can be found [here](http://textuploader.com/o79a)
mac_gallagherWed, 05 Nov 2014 18:45:17 -0600http://ask.sagemath.org/question/24795/