[Numpy-discussion] Building numpy for python3.3: No _numpyconfig.h

gk230-freebsd at yahoo.de gk230-freebsd at yahoo.de
Wed Feb 6 08:31:06 EST 2013


Hi,

I'm currently trying to build numpy 1.6.2 for python python 3.3 from ports on FreeBSD. Unfortunately, the setup.py execution fails because some [1] gcc command trying to access _numpyconfig.h fails since _numpyconfig.h is not generated from _numpyconfig.h.in. How do I manually build the proper header from the .h.in, and why does that not happen automatically?

--
-- Gereon

[1]
# gcc46 -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fPIC -Inumpy/core/include -Ibuild/src.freebsd-9.0-RELEASE-amd64-3.3/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/include -I/usr/local/include/python3.3m -Ibuild/src.freebsd-9.0-RELEASE-amd64-3.3/numpy/core/src/multiarray -Ibuild/src.freebsd-9.0-RELEASE-amd64-3.3/numpy/core/src/umath -c numpy/core/src/multiarray/multiarraymodule_onefile.c -o build/temp.freebsd-9.0-RELEASE-amd64-3.3/numpy/core/src/multiarray/multiarraymodule_onefile.o
Assembler messages:
Fatal error: can't create build/temp.freebsd-9.0-RELEASE-amd64-3.3/numpy/core/src/multiarray/multiarraymodule_onefile.o: No such file or directory
In file included from numpy/core/include/numpy/ndarraytypes.h:5:0,
                 from numpy/core/include/numpy/ndarrayobject.h:17,
                 from numpy/core/include/numpy/arrayobject.h:14,
                 from numpy/core/src/multiarray/common.c:6,
                 from numpy/core/src/multiarray/multiarraymodule_onefile.c:8:
numpy/core/include/numpy/numpyconfig.h:4:26: fatal error: _numpyconfig.h: No such file or directory
compilation terminated.




More information about the NumPy-Discussion mailing list