[Numpy-discussion] Fail to compile Numpy on Cygwin

Pearu Peterson pearu@cens.ioc...
Fri Aug 10 03:40:24 CDT 2007


On Fri, August 10, 2007 11:27 am, Javier Maria Torres (MI/EEM) wrote:
> Hi Pearu,
>
> Using just "python setup.py build" I get the following change in the
> same error:
>
> ...
> compile options: '-I/usr/local/include/python2.5 -Inumpy/core/src
> -Inumpy/core/include -I/usr/local/include/python2.5 -c'
> gcc: _configtest.c
> gcc _configtest.o -L/usr/local/lib -L/usr/lib -o _configtest.exe
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> crt0.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> crt0.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> failure.

Check were is the crt0.o file in your system, if it exists then
your cygwin environment is not set up properly, I guess.
If not, you might need to install compiler development libraries to cygwin
system.

Pearu



More information about the Numpy-discussion mailing list