On an Intel Mac, I just installed Sage for the first time.
'Sage Version 5.5, Release Date: 2012-12-22'
When I try to compile any .spyx file including hello.spyz, it fails in limits.h
sage: load "hello.spyx"
Compiling ./hello.spyx...
Error compiling cython file:
Error compiling ./hello.spyx:
running build
running build_ext
building '_Users_rogerfrye_Target_Sage_hello_spyx_1' extension
creating build
creating build/temp.macosx-10.8-x86_64-2.7
gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/Applications/sage/local/include/csage
-I/Applications/sage/local/include -I/Applications/sage/local/include/python2.7
-I/Applications/sage/local/lib/python/site-packages/numpy/core/include
-I/Applications/sage/devel/sage/sage/ext -I/Applications/sage/devel/sage
-I/Applications/sage/devel/sage/sage/gsl -I.
-I/Applications/sage/local/include/python2.7 -c
_Users_rogerfrye_Target_Sage_hello_spyx_1.c -o
build/temp.macosx-10.8-x86_64-2.7/_Users_rogerfrye_Target_Sage_hello_spyx_1.o
-w -O2
In file included from
/Applications/sage/local/bin/../lib/gcc/x86_64-apple-darwin12.2.0/4.6.3/include-fixed/syslimits.h:7:0,
from
/Applications/sage/local/bin/../lib/gcc/x86_64-apple-darwin12.2.0/4.6.3/include-fixed/limits.h:34,
from /Applications/sage/local/include/python2.7/Python.h:19,
from _Users_rogerfrye_Target_Sage_hello_spyx_1.c:4:
/Applications/sage/local/bin/../lib/gcc/x86_64-apple-darwin12.2.0/4.6.3/include-fixed/limits.h:169:61:
fatal error: limits.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.