[Numpy-discussion] compiling numarrray on Cygwin

Duhaime Johanne Johanne.Duhaime@ircm.qc...
Tue Mar 6 10:35:28 CST 2007


I have problem to install numarray on cygwin. I have seen emails on that
topic but I finally do not have a solution. 
 
Below is the error message for numarray-1.5.2 on python 2.4.3.  I am
using numarray instead of numpy because I need the module to be
compatible with a software : MAT (Model-based Analysis of Tiling-array).

 
I have seen some solutions but I do not know exactly how to do since I
am not familiar with python and cygwin. Someone suggests to disable the
package that contains fetestexcept and fetestexcept. I do not know if
this is important for my software but I am willing to try. The problem
is that I do not know how to disable this package... 

The same person mention that it would put a "solution" in the csv
repository. If I am right there is no csv repository for numarray.
Should I look to the python csv. In fact I did that, but have not seen
any comment related to my problem. 

As you can see my questions are very basic. Sorry about that. But I
would really appreciate help to solve that problem. Thank you in
advance for any help.
 

-----------------Compile:

Building many extension but then with 'numarray.libnumarray' I have an
error. 
	(...)

	building 'numarray._ufuncComplex32' extension
	gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -IInclude/nu
	array -I/usr/include/python2.4 -c Src/_ufuncComplex32module.c -o
build/temp.cyg
	in-1.5.24-i686-2.4/Src/_ufuncComplex32module.o
	gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.5.24-i686-2.4/Src/
	ufuncComplex32module.o -L/usr/lib/python2.4/config -lpython2.4
-o build/lib.cyg
	in-1.5.24-i686-2.4/numarray/_ufuncComplex32.dll -lm -L/lib -lm
-lc -lgcc -L/lib
	mingw -lmingwex
	building 'numarray._ufuncComplex64' extension
	gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -IInclude/nu
	array -I/usr/include/python2.4 -c Src/_ufuncComplex64module.c -o
build/temp.cyg
	in-1.5.24-i686-2.4/Src/_ufuncComplex64module.o
	gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.5.24-i686-2.4/Src/
	ufuncComplex64module.o -L/usr/lib/python2.4/config -lpython2.4
-o build/lib.cyg
	in-1.5.24-i686-2.4/numarray/_ufuncComplex64.dll -lm -L/lib -lm
-lc -lgcc -L/lib
	mingw -lmingwex

	building 'numarray.libnumarray' extension

	gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -IInclude/num

	array -I/usr/include/python2.4 -c Src/libnumarraymodule.c -o
build/temp.cygwin-1

	.5.24-i686-2.4/Src/libnumarraymodule.o

	gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.5.24-i686-2.4/Src/l

	ibnumarraymodule.o -L/usr/lib/python2.4/config -lpython2.4 -o
build/lib.cygwin-1

	.5.24-i686-2.4/numarray/libnumarray.dll -lm -L/lib -lm -lc -lgcc
-L/lib/mingw -l

	mingwex

	
/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 re

	ference to `___cpu_features'

	collect2: ld returned 1 exit status

	error: command 'gcc' failed with exit status 1

 
 

duhaimj@ircm.qc.ca



More information about the Numpy-discussion mailing list