[sage-support] Re: recompile sage in MAC OSX
Norbert Werner Sauer wrote: Hi; I changed the delimiters of matrices in the file: sage/devel/sage/sage/matrix/matrix0.pyx and then the recompile failed. The terminal returned the following on the command: sage -b dhcp71193:sage nsauer$ ./sage -b -- sage: Building and installing modified Sage library files. Installing c_lib sh: gcc: command not found sh: gcc: command not found gcc -o src/convert.os -c -O2 -g -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.5 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c sh: gcc: command not found scons: *** [src/convert.os] Error 127 ERROR: There was an error building c_lib. Looks like you don't have a gcc installed! You need some standard development tools to compile cython code. If you want to build sage from source you need more tools. See: http://www.sagemath.org/doc/installation/source.html#special-notes Cheers, Jaap --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: recompile sage in MAC OSX
Norbert Werner Sauer wrote: Hi; I changed the delimiters of matrices in the file: sage/devel/sage/sage/matrix/matrix0.pyx and then the recompile failed. The terminal returned the following on the command: sage -b dhcp71193:sage nsauer$ ./sage -b -- sage: Building and installing modified Sage library files. Installing c_lib sh: gcc: command not found sh: gcc: command not found gcc -o src/convert.os -c -O2 -g -fPIC -I/Applications/sage/local/include -I/Applications/sage/local/include/python2.5 -I/Applications/sage/local/include/NTL -Iinclude src/convert.c sh: gcc: command not found scons: *** [src/convert.os] Error 127 ERROR: There was an error building c_lib. Looks like you don't have a gcc installed! You need some standard development tools to compile cython code. If you want to build sage from source you need more tools. See: http://www.sagemath.org/doc/installation/source.html Cheers, Jaap --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: recompile sage in MAC OSX
More specifically, unless you you need to install XCode (http:// developer.apple.com/technology/xcode.html). You may already have it on your install disk, from which you can put it on your computer, or it might be somewhere in your computer but not unpacked yet; otherwise it is downloadable for free (though you do have to sign up for a newsletter). You want to make sure you get a fairly new version, because some older ones were buggy (see the link Jaap pointed out for more details on this). Hope this helps, - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: recompile sage in MAC OSX
On Mar 13, 7:29 am, Norbert Werner Sauer nsa...@math.ucalgary.ca wrote: Hi; I changed the delimiters of matrices in the file: By the way, in the latest version of Sage (3.4), you can use the command 'sage.matrix.matrix0.set_matrix_latex_delimiters([, ])' to change from parentheses to square brackets. Since sage 3.4 is not available (as far as I can tell) in a compiled version, you still need to follow the other suggestions here to get gcc in order to build it. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: recompile sage in MAC OSX
On Mar 13, 12:02 pm, John H Palmieri jhpalmier...@gmail.com wrote: On Mar 13, 7:29 am, Norbert Werner Sauer nsa...@math.ucalgary.ca wrote: Hi; I changed the delimiters of matrices in the file: By the way, in the latest version of Sage (3.4), you can use the command 'sage.matrix.matrix0.set_matrix_latex_delimiters([, ])' to change from parentheses to square brackets. Since sage 3.4 is not available (as far as I can tell) in a compiled version, you still need to follow the other suggestions here to get gcc in order to build it. The sagemath.org download section now has most binaries available. The official announcement should go out tonight as the binaries are mirroring out and I have to finish the release notes :) Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: recompile sage in MAC OSX
Thanks for your reply. After reading all of the replies, I realised that I stupidly had forgotten that for my new Laptop I did not install the developer package, which I usually do. After installing it everything works now perfectly. Thanks for you troubles, Norbert On Mar 13, 3:23 pm, mabshoff michael.absh...@mathematik.uni- dortmund.de wrote: On Mar 13, 12:02 pm, John H Palmieri jhpalmier...@gmail.com wrote: On Mar 13, 7:29 am, Norbert Werner Sauer nsa...@math.ucalgary.ca wrote: Hi; I changed the delimiters of matrices in the file: By the way, in the latest version of Sage (3.4), you can use the command 'sage.matrix.matrix0.set_matrix_latex_delimiters([, ])' to change from parentheses to square brackets. Since sage 3.4 is not available (as far as I can tell) in a compiled version, you still need to follow the other suggestions here to get gcc in order to build it. The sagemath.org download section now has most binaries available. The official announcement should go out tonight as the binaries are mirroring out and I have to finish the release notes :) Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---