From: Benjamin R. <ben...@ou...> - 2012-12-04 14:47:19
|
I can't seem to build v1.2.x branch right now on CentOS6. This has not been a problem before. I get the following error message while trying to build the freetype2 stuff: creating build/temp.linux-x86_64-2.7/CXX gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/nas/home/broot/centos6/lib/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/home/broot/.local_centos6/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o src/ft2font.cpp: In member function ‘Py::Object FT2Image::py_as_array(const Py::Tuple&)’: src/ft2font.cpp:388: error: ‘PyArray_UBYTE’ was not declared in this scope src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_path()’: src/ft2font.cpp:626: error: ‘PyArray_DOUBLE’ was not declared in this scope src/ft2font.cpp:632: error: ‘PyArray_UINT8’ was not declared in this scope error: command 'gcc' failed with exit status 1 |