problems installing matplotlib on RHEL5 with easy_install

I'm experimenting with installing a full python/numpy/scipy/matplotlib etc. suite on a RedHat Enterprise 5 system, and trying to document what would be the simplest procedure to accomplish each step.

I managed to install numpy using easy_install, but when I tried to install matplotlib using the same tool, I get the following errors:

error: Setup script exited with error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/usr/local/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.5/src/ft2font.o" failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x1150f710>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/transforms.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x11510950>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x1150f3f8>> ignored

Any tips? Do I need to install some sort of back-end infrastructure first?

I'll be happy to provide more detailed error messages, or do some basic tests.

Thanks,

Mike

ยทยทยท

------------------------------------------------------
Michael Hearne
mhearne@...924...
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------