fos/Fos — Issue #4: setup pb with cython 0.15.1
Author: agramfort
Created: 2011-10-29 18:01:28+00:00
State: open

here is the backtrace:

fos(master)$ python setup.py install
running install
running build
running build_py
running build_ext
cythoning fos/core/collision.pyx to fos/core/collision.c
building 'fos.core.collision' extension
gcc -fno-strict-aliasing -fno-common -dynamic -arch i386 -DNDEBUG -g -O3 -arch i386 -I/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/7.1/include/python2.7 -c fos/core/collision.c -o build/temp.macosx-10.5-i386-2.7/fos/core/collision.o
gcc -bundle -undefined dynamic_lookup -g -arch i386 build/temp.macosx-10.5-i386-2.7/fos/core/collision.o -o build/lib.macosx-10.5-i386-2.7/fos/core/collision.so
cythoning fos/core/cython_gl.pyx to fos/core/cython_gl.c
warning: fos/core/cython_gl.pyx:22:15: Function signature does not match previous declaration

Error compiling Cython file:
------------------------------------------------------------
...
cdef int i
cdef long summ=0
for i from 0<=itypesize
^
------------------------------------------------------------

fos/core/cython_gl.pyx:77:8: Pythonic division not allowed without gil, consider using cython.cdivision(True)
building 'fos.core.cython_gl' extension
gcc -fno-strict-aliasing -fno-common -dynamic -arch i386 -DNDEBUG -g -O3 -arch i386 -I/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/7.1/include/python2.7 -c fos/core/cython_gl.c -o build/temp.macosx-10.5-i386-2.7/fos/core/cython_gl.o
fos/core/cython_gl.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1