Friends,
I installed matplotlib in Fedora10 using yum which installed the version
0.98.1  .I could nt upgrade matplotlib using yum.
Hence i downloaded the source and tried to install but i am getting the
following error. Kindly write me what is going wrong.

[r...@ramana matplotlib-0.98.5.2]# python setup.py build
In file included from src/ft2font.cpp:1:
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:77: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:77: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.h:83: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:83: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.h:122: error: ‘FT_Face’ does not name a type
src/ft2font.h:123: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:124: error: ‘FT_Vector’ does not name a type
src/ft2font.h:125: error: ‘FT_Error’ does not name a type
src/ft2font.h:126: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:127: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:127: error: template argument 1 is invalid
src/ft2font.h:127: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:46: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:97: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:97: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:97: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:98: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:99: error: ‘FT_Int’ was not declared in this scope
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h:958:
warning: ‘int _import_array()’ defined but not used
error: command 'gcc' failed with exit status 1

Bala
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to