[Numpy-discussion] Installing numpy under cygwin

Olivia Cheronet cheronetolivia at yahoo.com
Wed Nov 25 05:07:33 EST 2009


The npy_math.c is attached here.

Cheers,

Olivia


----- Original Message ----
> On Wed, Nov 25, 2009 at 6:42 PM, Olivia Cheronet
> 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



      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: npy_math.c
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20091125/2f653201/attachment.c>


More information about the NumPy-Discussion mailing list