Ошибка установки: ftheader.h: нет такого файла или каталога

Когда я пытаюсь собрать matplotlib-1.3.1, я получаю следующие ошибки заголовка freetype. Вероятно, он не находит ftheader.h. Есть идеи, как решить эту проблему?

ПРИМЕЧАНИЕ: я только что установил Freetype-2.5.0.1, следуя инструкциям, как указано вУстановка FreeType потому что ручная сборка Matplotlib-1.3.1 из исходного кода не удалась из-за требуемого пакета 'FreeType» который не был найден изначально.

In file included from src/ft2font.h:16,
             from src/ft2font.cpp:3:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from src/ft2font.cpp:3:
src/ft2font.h:17:10: error: #include expects "FILENAME" or 
src/ft2font.h:18:10: error: #include expects "FILENAME" or 
src/ft2font.h:19:10: error: #include expects "FILENAME" or 
src/ft2font.h:20:10: error: #include expects "FILENAME" or 
src/ft2font.h:21:10: error: #include expects "FILENAME" or 
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:69,
             from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41,
             from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:42,
             from ./CXX/Python2/Exception.hxx:46,
             from ./CXX/Exception.hxx:40,
             from ./CXX/Python2/Objects.hxx:44,
             from ./CXX/Python2/Extensions.hxx:52,
             from ./CXX/Extensions.hxx:40,
             from src/ft2font.h:6,
             from src/ft2font.cpp:3:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_iterator.h:91: error: expected template-name before ‘

Ответы на вопрос(2)

Ваш ответ на вопрос