Error when building numpy with Py3k

Hi, trying to build current Git master of numpy with Py3k (Pythin 3.2.1, to be precise) yields to an error: building 'numpy.lib._compiled_base' extension compiling C sources C compiler: gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC creating build/temp.linux-x86_64-3.2/numpy/lib creating build/temp.linux-x86_64-3.2/numpy/lib/src compile options: '-Inumpy/core/include -Ibuild/src.linux-x86_64-3.2/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python3.2mu -Ibuild/src.linux-x86_64-3.2/numpy/core/src/multiarray -Ibuild/src.linux-x86_64-3.2/numpy/core/src/umath -c' gcc: numpy/lib/src/_compiled_base.c numpy/lib/src/_compiled_base.c: In function 'pack_or_unpack_bits': numpy/lib/src/_compiled_base.c:1317:51: error: 'PyArrayObject' has no member named 'ob_type' numpy/lib/src/_compiled_base.c:1357:43: error: 'PyArrayObject' has no member named 'ob_type' numpy/lib/src/_compiled_base.c: In function 'pack_or_unpack_bits': numpy/lib/src/_compiled_base.c:1317:51: error: 'PyArrayObject' has no member named 'ob_type' numpy/lib/src/_compiled_base.c:1357:43: error: 'PyArrayObject' has no member named 'ob_type' error: Command "gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Inumpy/core/include -Ibuild/src.linux-x86_64-3.2/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python3.2mu -Ibuild/src.linux-x86_64-3.2/numpy/core/src/multiarray -Ibuild/src.linux-x86_64-3.2/numpy/core/src/umath -c numpy/lib/src/_compiled_base.c -o build/temp.linux-x86_64-3.2/numpy/lib/src/_compiled_base.o" failed with exit status 1 Dirk
participants (1)
-
Dirk Ullrich