[Numpy-discussion] Installing numpy under cygwin

David Cournapeau cournape@gmail....
Wed Nov 25 03:59:48 CST 2009


On Wed, Nov 25, 2009 at 6:42 PM, Olivia Cheronet
<cheronetolivia@yahoo.com> wrote:
> The crt0.o file was indeed missing. I have reinstalled cygwin from the cygwin setup.exe (as it seemed to be included therein), and it seems to have solved that.
>
> compile options: '-Inumpy/core/include -Ibuild/src.cygwin-1.5.25-i686-2.5/numpy/
> core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.
> 5 -c'
> gcc: build/src.cygwin-1.5.25-i686-2.5/numpy/core/src/npy_math.c
> numpy/core/src/npy_math.c.src:186: error: parse error before '/' token
> numpy/core/src/npy_math.c.src:186: error: parse error before '/' token
> error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
> prototypes -Inumpy/core/include -Ibuild/src.cygwin-1.5.25-i686-2.5/numpy/core/in
> clude/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c bu
> ild/src.cygwin-1.5.25-i686-2.5/numpy/core/src/npy_math.c -o build/temp.cygwin-1.
> 5.25-i686-2.5/build/src.cygwin-1.5.25-i686-2.5/numpy/core/src/npy_math.o" failed
>  with exit status 1

Which version of the trunk are you using ? From the error, it looks
like a C99-style // comment (which should not be there), but I don't
see it in the last revision.

Could you put the content of the file
build/src.cygwin-1.5.25-i686-2.5/numpy/core/src/npy_math.c as well ?

thanks,

David


More information about the NumPy-Discussion mailing list