[Numpy-discussion] installation error in cygwin

Charles R Harris charlesr.harris at gmail.com
Fri Dec 8 21:58:20 CST 2006


On 12/8/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
>
> Wei wrote:
> >
> > Hi,
> >
> > I just got my new intel core duo laptop. So I downloaded the new
> > cygwin (including everything) but couldn't get the numarray or numpy
> > modules installed correctly. I always got the following error. Can
> > some one help?
> >
> > Many thanks!
> >
> > Wei
> >
> > python setup.py install
> >
> > Using EXTRA_COMPILE_ARGS = []
> >
> > Using builtin 'lite' BLAS and LAPACK
> >
> > running config
> >
> > Wrote config.h
> >
> > running install
> >
> > running build
> >
> > running build_py
> >
> > copying Lib/numinclude.py -> build/lib.cygwin-1.5.22-i686-2.4/numarray
> >
> > running build_ext
> >
> > building 'numarray.libnumarray' extension
> >
> > gcc -shared -Wl,--enable-auto-image-base
> > build/temp.cygwin-1.5.22-i686-2.4/Src/libnumarraymodule.o
> > -L/usr/lib/python2.4/config -lpython2.4 -o
> > build/lib.cygwin-1.5.22-i686-2.4/numarray/libnumarray.dll -lm -L/lib
> > -lm -lc -lgcc -L/lib/mingw -lmingwex
> >
> > /lib/mingw/libmingwex.a(feclearexcept.o):feclearexcept.c:(.text+0x21):
> > undefined reference to `___cpu_features'
> >
> > /lib/mingw/libmingwex.a(fetestexcept.o):fetestexcept.c:(.text+0x7):
> > undefined reference to `___cpu_features'
> >
> > collect2: ld returned 1 exit status
> >
> > error: command 'gcc' failed with exit status 1
> >


Looks almost like a mix of mingw and cygwin. The two aren't compatible, so I
wonder if the python you have was compiled with cygwin or with vc. If the
latter, mingw is the proper compiler to use.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20061208/6e317c20/attachment.html 


More information about the Numpy-discussion mailing list