From: Nils W. <nw...@ia...> - 2006-08-01 06:24:44
|
Angus McMorland wrote: > Hi people who know what's going on, > > I'm getting an install failure with the latest numpy from svn (revision > 2940). This is on an amd64 machine running python 2.4.4c0. > > The build halts at:=20 > > compile options: '-Ibuild/src.linux-x86_64-2.4/numpy/core/src > -Inumpy/core/include -Ibuild/src.linux-x86_64-2.4/numpy/core > -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c' > gcc: numpy/core/src/multiarraymodule.c > In file included from numpy/core/src/arrayobject.c:508, > from numpy/core/src/multiarraymodule.c:64: > numpy/core/src/arraytypes.inc.src: In function 'set_typeinfo': > numpy/core/src/arraytypes.inc.src:2139: error: 'PyIntpArrType_Type' > undeclared (first use in this function) > numpy/core/src/arraytypes.inc.src:2139: error: (Each undeclared > identifier is reported only once > numpy/core/src/arraytypes.inc.src:2139: error: for each function it > appears in.) > In file included from numpy/core/src/arrayobject.c:508, > from numpy/core/src/multiarraymodule.c:64: > numpy/core/src/arraytypes.inc.src: In function 'set_typeinfo': > numpy/core/src/arraytypes.inc.src:2139: error: 'PyIntpArrType_Type' > undeclared (first use in this function) > numpy/core/src/arraytypes.inc.src:2139: error: (Each undeclared > identifier is reported only once > numpy/core/src/arraytypes.inc.src:2139: error: for each function it > appears in.) > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall > -Wstrict-prototypes -fPIC -Ibuild/src.linux-x86_64-2.4/numpy/core/src > -Inumpy/core/include -Ibuild/src.linux-x86_64-2.4/numpy/core > -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c > numpy/core/src/multiarraymodule.c -o > build/temp.linux-x86_64-2.4/numpy/core/src/multiarraymodule.o" failed > with exit status 1 > > Am I missing something or might this be a bug? > > Cheers, > > Angus. > =20 I can build numpy on a 32-bit machine but it fails on a 64-bit machine. Travis, please can you have a look at this issue. In file included from numpy/core/src/arrayobject.c:508, from numpy/core/src/multiarraymodule.c:64: numpy/core/src/arraytypes.inc.src: In function =91set_typeinfo=92: numpy/core/src/arraytypes.inc.src:2139: error: =91PyIntpArrType_Type=92 undeclared (first use in this function) numpy/core/src/arraytypes.inc.src:2139: error: (Each undeclared identifier is reported only once numpy/core/src/arraytypes.inc.src:2139: error: for each function it appears in.) In file included from numpy/core/src/arrayobject.c:508, from numpy/core/src/multiarraymodule.c:64: numpy/core/src/arraytypes.inc.src: In function =91set_typeinfo=92: numpy/core/src/arraytypes.inc.src:2139: error: =91PyIntpArrType_Type=92 undeclared (first use in this function) numpy/core/src/arraytypes.inc.src:2139: error: (Each undeclared identifier is reported only once numpy/core/src/arraytypes.inc.src:2139: error: for each function it appears in.) error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g -fPIC -Ibuild/src.linux-x86_64-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-x86_64-2.4/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c numpy/core/src/multiarraymodule.c -o build/temp.linux-x86_64-2.4/numpy/core/src/multiarraymodule.o" failed with exit status 1 Nils |