Hello,

I've been trying to use cython in Jupyter and it fails to compile.
My version of Sage is 7.3. It was installe from the ppa.
I run Linux Mint.

Here is the error message:

RuntimeError: Error compiling 
/home/jordan/.sage/temp/jordan-laptop/5677/tmp_fun1sz.spyx:

running build
running build_ext
building '_home_jordan__sage_temp_jordan_laptop_5677_tmp_fun1sz_spyx_0' 
extension
creating build
creating build/temp.linux-x86_64-2.7
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -fPIC 
-I/usr/lib/sagemath/local/include -I/usr/lib/sagemath/local/include/python2.7 
-I/usr/lib/sagemath/local/lib/python2.7/site-packages/numpy/core/include 
-I/usr/lib/sagemath/local/lib/python2.7/site-packages 
-I/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/ext 
-I/usr/lib/sagemath/local/lib/python2.7/site-packages/cysignals 
-I/home/jordan/.sage/temp/jordan-laptop/5677 
-I/usr/lib/sagemath/local/include/python2.7 -c 
_home_jordan__sage_temp_jordan_laptop_5677_tmp_fun1sz_spyx_0.c -o 
build/temp.linux-x86_64-2.7/_home_jordan__sage_temp_jordan_laptop_5677_tmp_fun1sz_spyx_0.o
 -w -O2

In file included from 
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7:0,
                 from 
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
                 from /usr/lib/sagemath/local/include/python2.7/Python.h:19,
                 from 
_home_jordan__sage_temp_jordan_laptop_5677_tmp_fun1sz_spyx_0.c:4:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168:61: fatal error: 
limits.h: Aucun fichier ou dossier de ce type
 #include_next <limits.h>  /* recurse down to the real one */
                                                             ^
compilation terminated.
error: command 'gcc' failed with exit status 1


Is there a solution ?

Jordan

-- 
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