I'm trying to install matplotlib on a RHEL5 system, and I'm getting
errors in src/ft2font.h and ft2font.cpp.
An error log from the build command is attached.
I would use an RPM for this platform if I were sure that it would be
installed in /usr/local/lib... Is there a way to control where RPM's
get installed?
--Mike
--
------------------------------------------------------
Michael Hearne
[EMAIL PROTECTED]
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
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: âint FT2Image::draw_bitmapâ is not a static
member of âclass FT2Imageâ
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
src/ft2font.cpp:99: error: initializer expression list treated as compound
expression
src/ft2font.cpp:99: error: expected â,â or â;â before â{â token
/usr/local/lib/python2.5/site-packages/numpy-1.1.0-py2.5-linux-x86_64.egg/numpy/core/include/numpy/__multiarray_api.h:958:
warning: âint _import_array()â defined but not used
error: command 'gcc' failed with exit status 1
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users