I am having problems compiling matplotlib on RHEL5. I changed the setup.cfg to use a different base directory, but other than that no files changed/customized.
Thanks.
Jeff
$ python setup.py build
basedirlist is: ['/share/apps/gpaw-0.8.0-py2.6'] ============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.1
python: 2.6.7 (r267:88850, Sep 20 2011, 13:39:45) [GCC
4.1.2 20080704 (Red Hat 4.1.2-51)]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.5.1
freetype2: 13.0.7
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.5.4
Tkinter: Tkinter: 73770, Tk: 8.4, Tcl: 8.4
wxPython: no
* wxPython not found
Gtk+: no
* Building for Gtk+ requires pygtk; you must be able
* to "import gtk" in your build/install environment
Mac OS X native: no
Qt: no
Qt4: no
Cairo: 1.8.10
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide adding pytz
OPTIONAL USETEX DEPENDENCIES
dvipng: 1.5
ghostscript: 8.70
latex: 3.141592
pdftops: 3.00
[Edit setup.cfg to suppress the above messages] ============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil/zoneinfo'] running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.6/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux-x86_64-2.6/matplotlib/mpl-data
running build_ext
building 'matplotlib._png' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/share/apps/gpaw-0.8.0-py2.6/include -I/share/apps/gpaw-0.8.0-py2.6/include/glib-2.0 -I/share/apps/gpaw-0.8.0-py2.6/include/glib-2.0/include -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/share/apps/gpaw-0.8.0-py2.6/include/libpng15 -I/share/apps/gpaw-0.8.0-py2.6/include -I. -I/share/apps/gpaw-0.8.0-py2.6/lib/python2.6/site-packages/numpy/core/include -I. -I/share/apps/gpaw-0.8.0-py2.6/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
src/_png.cpp: In member function 'Py::Object _png_module::read_png(const Py::Tuple&)':
src/_png.cpp:353: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:354: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:356: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:364: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:377: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:383: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'
src/_png.cpp:411: error: invalid use of undefined type 'struct png_info_def'
/share/apps/gpaw-0.8.0-py2.6/include/png.h:692: error: forward declaration of 'struct png_info_def'