I am running the Sage app on OS X.  My code makes a call to cython.  When I 
execute the code I get an error:

gcc -fno-strict-aliasing 
-I/Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma/local/var/tmp/sage/build/python2-2.7.10.p3/include
 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/include 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/include/python2.7
 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages/numpy/core/include
 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages
 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/ext
 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/python2.7/site-packages/cysignals
 -I/Users/michael/.sage/temp/Michaels-MBP.freystuff.com/34036 
-I/Applications/SageMath-7.4.app/Contents/Resources/sage/local/include/python2.7
 -c 
_Users_michael__sage_temp_Michaels_MBP_freystuff_com_34036_tmp_81FKRa_spyx_0.c 
-o 
build/temp.macosx-10.9-x86_64-2.7/_Users_michael__sage_temp_Michaels_MBP_freystuff_com_34036_tmp_81FKRa_spyx_0.o
 -w -O2

In file included from 
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/gcc/x86_64-apple-darwin15.6.0/4.9.3/include-fixed/syslimits.h:7:0,
                 from 
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/gcc/x86_64-apple-darwin15.6.0/4.9.3/include-fixed/limits.h:34,
                 from 
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/include/python2.7/Python.h:19,
                 from 
_Users_michael__sage_temp_Michaels_MBP_freystuff_com_34036_tmp_81FKRa_spyx_0.c:4:
/Applications/SageMath-7.4.app/Contents/Resources/sage/local/lib/gcc/x86_64-apple-darwin15.6.0/4.9.3/include-fixed/limits.h:168:61:
 fatal error: limits.h: No such file or directory
 #include_next <limits.h>  /* recurse down to the real one */
                                                             ^
compilation terminated.
error: command 'gcc' failed with exit status 1


The limits.h file exists:

pwd

/Applications/SageMath-7.4.app

Michaels-MBP:SageMath-7.4.app michael$ find . -type f -iname 'limits.h' -ls

1373529        8 -rw-r--r--    1 michael          admin                1214 
Oct 19 16:11 ./Contents/Resources/sage/local/include/c++/4.9.3/tr1/limits.h

1376268       16 -rw-r--r--    1 michael          admin                5382 
Oct 19 16:07 
./Contents/Resources/sage/local/lib/gcc/x86_64-apple-darwin15.6.0/4.9.3/include-fixed/limits.h

1376277       16 -rw-r--r--    1 michael          admin                5382 
Oct 19 16:11 
./Contents/Resources/sage/local/lib/gcc/x86_64-apple-darwin15.6.0/4.9.3/install-tools/include/limits.h


Hopefully there is an easy fix for this.

Mike

Code:

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to