Hello,

It looks like (the automatically generated) distances_all_pairs.c is the 
result of an interrupted/failed Cython compilaton.  My copy of that file is 
14706 lines long and the last line is

#endif /* Py_PYTHON_H */

which closes the #ifndef on line 17.

Try running

rm src/sage/graphs/distances_all_pairs.c && make

Peter


Op donderdag 8 mei 2014 20:44:42 UTC+1 schreef Volker Braun:
>
> There is no unbalanced #ifdef/#else in line 17 of that file, but line 16 
> is including Python.h. My bet would be that you are picking up a wonky 
> cpython header.
>
>
> On Thursday, May 8, 2014 5:50:18 PM UTC+2, Sébastien Labbé wrote:
>>
>> sage/graphs/distances_all_pairs.c:17:0: error: unterminated #else
>> sage/graphs/distances_all_pairs.c:5963:3: error: expected ';' at end of 
>> input
>> sage/graphs/distances_all_pairs.c:5963:3: error: expected declaration or 
>> statement at end of input 
>>
> error: command 'gcc' failed with exit status 1
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" 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-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to