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: > > 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. >
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 ‘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 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion