This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Numerical Python on cygwin


Has anyone successfully gotten Numerical Python (numpy) built under cygwin?
I was able to get python (2.1b2 using gcc 2.95.3-2) built with a minor
change usr/include/sys/signal.h and specifying '--without-threads' in the
configure script but when I try to install numerical python, I get the
following errors.  It looks like some sort of problem with DLLs but I'm not
sure what to make of it.  I searched the cygwin list archive and found one
old reference to numpy but it didn't help.

#shows which version of python I'm running:
/tmp/Numeric-19.0.0> python
Python 2.1b2 (#3, Apr  4 2001, 12:17:33)
[GCC 2.95.3-2 (cygwin special)] on cygwin_nt-5.01
Type "copyright", "credits" or "license" for more information.
>>>

/tmp/Numeric-19.0.0> python setup_all.py install
running install
running build
running build_py
creating build
creating build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
copying Lib/ArrayPrinter.py -> build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
copying Lib/Numeric.py -> build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
copying Lib/Precision.py -> build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
copying Lib/UserArray.py -> build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
copying Lib/numeric_version.py -> build/lib.cygwin_nt-5.0-1.1.8-i686-2.1
running build_ext
building '_numpy' extension
creating build/temp.cygwin_nt-5.0-1.1.8-i686-2.1
gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -IInclude/Numeric
-I/usr/local/include/python2.1 -c Src/_numpymodul
e.c -o build/temp.cygwin_nt-5.0-1.1.8-i686-2.1/_numpymodule.o
In file included from Src/_numpymodule.c:4:
Include/Numeric/arrayobject.h:223: warning: function declaration isn't a
prototype
Src/_numpymodule.c:18: warning: function declaration isn't a prototype
gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -IInclude/Numeric
-I/usr/local/include/python2.1 -c Src/arrayobject
.c -o build/temp.cygwin_nt-5.0-1.1.8-i686-2.1/arrayobject.o
In file included from Src/arrayobject.c:25:
Include/Numeric/arrayobject.h:223: warning: function declaration isn't a
prototype
gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -IInclude/Numeric
-I/usr/local/include/python2.1 -c Src/ufuncobject
.c -o build/temp.cygwin_nt-5.0-1.1.8-i686-2.1/ufuncobject.o
In file included from Src/ufuncobject.c:21:
Include/Numeric/arrayobject.h:223: warning: function declaration isn't a
prototype
Src/ufuncobject.c: In function `PyUFunc_OO_O':
Src/ufuncobject.c:114: warning: suggest explicit braces to avoid ambiguous
`else'
Src/ufuncobject.c: In function `PyUFunc_O_O':
Src/ufuncobject.c:167: warning: suggest explicit braces to avoid ambiguous
`else'
Src/ufuncobject.c: In function `PyUFunc_O_O_method':
Src/ufuncobject.c:181: warning: suggest explicit braces to avoid ambiguous
`else'
Src/ufuncobject.c: At top level:
Src/ufuncobject.c:406: warning: function declaration isn't a prototype
Src/ufuncobject.c: In function `PyUFunc_GenericReduceAt':
Src/ufuncobject.c:634: warning: `os' might be used uninitialized in this
function
Src/ufuncobject.c: In function `ufunc_generic_call':
Src/ufuncobject.c:765: warning: suggest explicit braces to avoid ambiguous
`else'
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin_nt-5.0-1.1.8-i686-2.1/_numpymodule.o
build/temp.cygwin_nt-5.0
-1.1.8-i686-2.1/arrayobject.o
build/temp.cygwin_nt-5.0-1.1.8-i686-2.1/ufuncobject.o
-L/usr/local/lib/python2.1/config -l
python2.1 -o build/lib.cygwin_nt-5.0-1.1.8-i686-2.1/_numpy.dll
Cannot export _bss_end__: symbol not defined
Cannot export _bss_start__: symbol not defined
Cannot export _data_end__: symbol not defined
Cannot export _data_start__: symbol not defined
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
/tmp/Numeric-19.0.0>



--Rhet


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]