On 10 July 2017 at 14:14, Vincent Delecroix <firstname.lastname@example.org> wrote:
> Dear all,
> I am stuck with compiling a single cython file that contains the one line
> from sage.libs.ntl.ntl_ZZX cimport ntl_ZZX
> If such line is saved into toto.pyx then from the console I got
> sage: %runfile toto.pyx
> Compiling ./toto.pyx...
> Traceback (most recent call last)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 816:
> ordinal not in range(128)
> The traceback is only about IPython related stuff.
> Can somebody check whether this is reproducible? Is there a way to get a
> less obscure error and traceback?
I tried this and got
RuntimeError: Error compiling ./toto.pyx:
building '_home_jec_toto_pyx_0' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wno-unused -fPIC -I/usr/local/sage/sage-2/local/include
-I. -I/usr/local/sage/sage-2/local/include/python2.7 -c
build/temp.linux-x86_64-2.7/_home_jec_toto_pyx_0.o -w -O2
_home_jec_toto_pyx_0.c:816:15: fatal error: new: No such file or directory
error: command 'gcc' failed with exit status 1
This is with gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to email@example.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
เขียนโดย computer ถึง computer เวลา 7/10/2560 06:21:00 ก่อนเที่ยง
เขียนโดย computer ถึง computer เวลา 7/10/2560 06:22:00 ก่อนเที่ยง