Vincent Delecroix wrote: > With > > $ export CC="gcc-4.9" > $ sage -p p_group_cohomology-2.1.5.spkg > > I confirm at least that I got the very same error as you do!
I guess that refers to 'restrict' in MeatAxe; it's a reserved word in C99, so you should either patch your MeatAxe sources or compile with '-std=gnu89' (or '-std=c89') in CFLAGS (or CC), at least when using newer versions of GCC that default to more recent standards. -leif > On 30/07/16 19:39, Simon King wrote: >> Hi Vincent, >> >> On 2016-07-30, Vincent Delecroix <20100.delecr...@gmail.com> wrote: >>> Are the sources available somewhere else than on your computer? >> >> Sure --- but some changes with respect to the currently published >> sources are needed anyway, that's why I asked more generally why the >> inclusion of the header is generated by Cython and why it isn't found. >> >> The documentation is at >> http://users.minet.uni-jena.de/cohomology/documentation/ >> and the package is at >> http://users.minet.uni-jena.de/cohomology/p_group_cohomology-2.1.5.spkg >> >> The problem appears when building src/pGroupCohomology/resolution.pyx >> >> With respect to the currently published version, I changed >> include "interrupt.pxi" >> into >> include "cysignals/signals.pxi" >> Both versions didn't work, but I think I recall that "interrupt.pxi" has >> vanished, whereas "cysignals/signals.pxi" is the thing that currently is >> in use and is supposed to work. >> >> Note that I need gcc 4.9.3 to come to the point of building this >> cython module. With gcc 5.2.1, an error occurs when building a third >> party package included in the spkg, but probably I have no time to try >> and sort out compiler problems. >> >> Best regards, >> Simon -- 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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.