On 2014-09-22, kstueve <[email protected]> wrote:
> I am experiencing the same problem this thread describes.  I have OS X and 
> the latest Sage.  I downloaded and installed the latest Xcode.  I am still 
> unable to compile Cython in the notebook.

I suppose you might have to build Sage from source to be able to do so.

>
> On Monday, January 28, 2013 12:06:23 PM UTC-8, Roger Frye wrote:
>>
>> It turns out this was just a badly configured Mac.  I had installed Xcode 
>> on Mac's Snow Leopard OS and then upgraded the OS to Mountain Lion.  As I 
>> was preparing to install Sage 5.6 from source, I upgraded to the latest 
>> Xcode.  Now Sage 5.5 loads, compiles and runs hello.spyx with no problems.
>> -RogerF
>>
>> On Friday, January 11, 2013 10:21:42 PM UTC-7, Roger Frye wrote:
>>>
>>> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to