Hello,
Since I’ve updated my master branch, I have a new error when installing matplotlib. It seems it doesn’t find a header file from numpy:
I’ve reinstalled numpy (development version), and I tried to reinstall everything (on python 2.6) but I still get the error. Am I the only one having installation problems ?
Here is the (partial) traceback:
building ‘matplotlib._png’ extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/libpng12 -I/usr/lib/pymodules/python2.6/numpy/core/include -I/usr/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o
In file included from src/_png.cpp:31:
src/file_compat.h:4:32: error: numpy/npy_3kcompat.h: No such file or directory
In file included from src/_png.cpp:31:
src/file_compat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’:
src/file_compat.h:125: warning: deprecated conversion from string constant to ‘char*’
src/_png.cpp: In member function ‘Py::Object _png_module::write_png(const Py::Tuple&)’:
src/_png.cpp:137: error: ‘npy_PyFile_OpenFile’ was not declared in this scope
src/_png.cpp:147: error: ‘npy_PyFile_Dup’ was not declared in this scope
src/_png.cpp:243: error: ‘npy_PyFile_DupClose’ was not declared in this scope
src/_png.cpp:264: error: ‘npy_PyFile_DupClose’ was not declared in this scope
src/_png.cpp: In member function ‘PyObject* _png_module::_read_png(const Py::Object&, bool, int)’:
src/_png.cpp:321: error: ‘npy_PyFile_OpenFile’ was not declared in this scope
src/_png.cpp:329: error: ‘npy_PyFile_Dup’ was not declared in this scope
src/_png.cpp:577: error: ‘npy_PyFile_DupClose’ was not declared in this scope
error: command ‘gcc’ failed with exit status 1
Thanks,
N