Nat Wilson | 7 Oct 14:50

compiling problems w/ py2.6 on OS 10.4

(message was too long before, and bounced. trying again, having abridged the terminal output)

I've just installed python 2.6, and I'm having trouble compiling matplotlib.

The problem is generally the same whether I try to build it myself or use easy_install.

Here are my specs:
Python 2.6
matplotlib 0.98.3
numpy 1.2.0

on a Apple iBook G4, running OS 10.4.11.

In the past, I've had no problems getting it working with Python 2.5, although since then I've changed from tcl/tk 8.4 to tcl/tk 8.5.

Here is the output in the terminal:

######:~/Desktop/matplotlib-0.98.3 natwilson$ python setup.py build
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:67: DeprecationWarning: the sets module is deprecated
  from sets import Set
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.98.3
                python: 2.6 (r26:66714, Oct  6 2008, 18:19:26)  [GCC 4.0.1
                        (Apple Computer, Inc. build 5370)]
              platform: darwin

REQUIRED DEPENDENCIES
                 numpy: 1.2.0
             freetype2: found, but unknown version (no pkg-config)

OPTIONAL BACKEND DEPENDENCIES
                libpng: found, but unknown version (no pkg-config)
                        * Could not find 'libpng' headers in any of
                        * '/usr/include', '/usr/X11R6/include', '.'
               Tkinter: Tkinter: 65971, Tk: 8.5, Tcl: 8.5
              wxPython: no
                        * wxPython not found
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
                    Qt: no
                   Qt4: no
                 Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: matplotlib will provide
                  pytz: matplotlib will provide

OPTIONAL USETEX DEPENDENCIES
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:502: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('dvipng -version')
                dvipng: no
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:515: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4(command)
           ghostscript: 8.62
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:524: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('latex -version')
                 latex: 3.1415926
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:536: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('pdftops -v')

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
             configobj: matplotlib will provide
      enthought.traits: no

[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
creating build
creating build/lib.macosx-10.3-ppc-2.6
copying lib/pylab.py -> build/lib.macosx-10.3-ppc-2.6
copying lib/configobj.py -> build/lib.macosx-10.3-ppc-2.6
creating build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/__init__.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_mathtext_data.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_pylab_helpers.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/afm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/artist.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axes.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axes3d.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axis.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/backend_bases.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/blocking_input.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/cbook.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/collections.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/colorbar.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/colors.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/contour.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/dates.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/dviread.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/figure.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/finance.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/font_manager.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/fontconfig_pattern.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/image.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/legend.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/lines.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mathtext.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mlab.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mpl.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/patches.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/path.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pylab.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pyparsing.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pyplot.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/quiver.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/rcsetup.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/scale.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/table.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/texmanager.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/text.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/ticker.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/transforms.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/type1font.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/units.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/widgets.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/windowing.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
creating build/lib.macosx-10.3-ppc-2.6/matplotlib/backends

# [ abridged ] #

running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.macosx-10.3-ppc-2.6
creating build/temp.macosx-10.3-ppc-2.6/src
creating build/temp.macosx-10.3-ppc-2.6/CXX
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/ft2font.cpp -o build/temp.macosx-10.3-ppc-2.6/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/mplutils.cpp -o build/temp.macosx-10.3-ppc-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxx_extensions.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxxsupport.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/IndirectPythonInterface.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxxextensions.c -o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/ft2font.o build/temp.macosx-10.3-ppc-2.6/src/mplutils.o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-ppc-2.6/matplotlib/ft2font.so
building 'matplotlib.ttconv' extension
creating build/temp.macosx-10.3-ppc-2.6/ttconv
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/_ttconv.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/pprdrv_tt.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/pprdrv_tt2.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/ttutil.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/ttconv.so
building 'matplotlib._cntr' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/cntr.c -o build/temp.macosx-10.3-ppc-2.6/src/cntr.o
gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/cntr.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_cntr.so
building 'matplotlib._delaunay' extension
creating build/temp.macosx-10.3-ppc-2.6/lib
creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib
creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/_delaunay.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: warning: 'int _import_array()' defined but not used
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/delaunay_utils.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/natneighbors.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_delaunay.so
building 'matplotlib.nxutils' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/nxutils.c -o build/temp.macosx-10.3-ppc-2.6/src/nxutils.o
gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/nxutils.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/nxutils.so
building 'matplotlib._path' extension
creating build/temp.macosx-10.3-ppc-2.6/agg24
creating build/temp.macosx-10.3-ppc-2.6/agg24/src
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_curves.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_bezier_arc.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_trans_affine.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/path.cpp -o build/temp.macosx-10.3-ppc-2.6/src/path.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o build/temp.macosx-10.3-ppc-2.6/src/path.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lstdc++ -lm -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_path.so
building 'matplotlib.backends._backend_agg' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_dash.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_image_filters.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_image_filters.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/_image.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_image.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'Py::Object Image::resize(const Py::Tuple&, const Py::Dict&)':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/backend_agg.cpp -o build/temp.macosx-10.3-ppc-2.6/src/backend_agg.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
src/backend_agg.cpp:3:17: error: png.h: No such file or directory
agg24/include/agg_conv_curve.h: In member function 'unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, agg::trans_affine>, Curve3 = agg::curve3, Curve4 = agg::curve4]':
agg24/include/agg_conv_curve.h:160: warning: 'end_y' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:159: warning: 'end_x' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:158: warning: 'ct2_y' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:157: warning: 'ct2_x' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'void RendererAgg::_draw_path(path_t&, bool, const std::pair<bool, agg::rgba>&, const GCAgg&) [with PathIteratorType = agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, agg::trans_affine>]':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'Py::Object RendererAgg::draw_text_image(const Py::Tuple&)':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
error: command 'gcc' failed with exit status 1

I'm having trouble interpretting this - any ideas?

Thanks,
Nat
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Michael Droettboom | 7 Oct 16:27
Gravatar

Re: compiling problems w/ py2.6 on OS 10.4

matplotlib 0.98.3 predates the release of Python 2.6, so it is 
unsupported in that combination.  There were recent changes made to 
matplotlib in SVN to make it (more) Python 2.6 compatible.  You may run 
into further trouble trying to get it to work with Python 2.6

That, however, doesn't seem to be the root of your compilation problem.

src/backend_agg.cpp:3:17: error: png.h: No such file or directory

...indicates that it can not find the headers for libpng.  Did you 
follow the instructions here:

http://ipython.scipy.org/moin/Py4Science/InstallationOSX

...particularly regarding installing pkgconfig?

If not, let us know where your libpng is installed.  You can try, as a 
hack, adding that directory to the list of the darwin directories at the 
top of setupext.py.

Cheers,
Mike

Nat Wilson wrote:
> (message was too long before, and bounced. trying again, having 
> abridged the terminal output)
>
> I've just installed python 2.6, and I'm having trouble compiling 
> matplotlib.
>
> The problem is generally the same whether I try to build it myself or 
> use easy_install.
>
> Here are my specs:
> Python 2.6
> matplotlib 0.98.3
> numpy 1.2.0
>
> on a Apple iBook G4, running OS 10.4.11.
>
> In the past, I've had no problems getting it working with Python 2.5, 
> although since then I've changed from tcl/tk 8.4 to tcl/tk 8.5.
>
> Here is the output in the terminal:
>
> ######:~/Desktop/matplotlib-0.98.3 natwilson$ python setup.py build
> /Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:67: 
> DeprecationWarning: the sets module is deprecated
>   from sets import Set
> ============================================================================
> BUILDING MATPLOTLIB
>             matplotlib: 0.98.3
>                 python: 2.6 (r26:66714, Oct  6 2008, 18:19:26)  [GCC 4.0.1
>                         (Apple Computer, Inc. build 5370)]
>               platform: darwin
>
> REQUIRED DEPENDENCIES
>                  numpy: 1.2.0
>              freetype2: found, but unknown version (no pkg-config)
>
> OPTIONAL BACKEND DEPENDENCIES
>                 libpng: found, but unknown version (no pkg-config)
>                         * Could not find 'libpng' headers in any of
>                         * '/usr/include', '/usr/X11R6/include', '.'
>                Tkinter: Tkinter: 65971, Tk: 8.5, Tcl: 8.5
>               wxPython: no
>                         * wxPython not found
>                   Gtk+: no
>                         * Building for Gtk+ requires pygtk; you must 
> be able
>                         * to "import gtk" in your build/install 
> environment
>                     Qt: no
>                    Qt4: no
>                  Cairo: no
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
>               datetime: present, version unknown
>               dateutil: matplotlib will provide
>                   pytz: matplotlib will provide
>
> OPTIONAL USETEX DEPENDENCIES
> /Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:502: 
> DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
>   stdin, stdout = os.popen4('dvipng -version')
>                 dvipng: no
> /Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:515: 
> DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
>   stdin, stdout = os.popen4(command)
>            ghostscript: 8.62
> /Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:524: 
> DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
>   stdin, stdout = os.popen4('latex -version')
>                  latex: 3.1415926
> /Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:536: 
> DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
>   stdin, stdout = os.popen4('pdftops -v')
>
> EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
>              configobj: matplotlib will provide
>       enthought.traits: no
>
> [Edit setup.cfg to suppress the above messages]
> ============================================================================
> running build
> running build_py
> creating build
> creating build/lib.macosx-10.3-ppc-2.6
> copying lib/pylab.py -> build/lib.macosx-10.3-ppc-2.6
> copying lib/configobj.py -> build/lib.macosx-10.3-ppc-2.6
> creating build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/__init__.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/_cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/_mathtext_data.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/_pylab_helpers.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/afm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/artist.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/axes.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/axes3d.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/axis.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/backend_bases.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/blocking_input.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/cbook.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/collections.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/colorbar.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/colors.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/contour.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/dates.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/dviread.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/figure.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/finance.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/font_manager.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/fontconfig_pattern.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/image.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/legend.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/lines.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/mathtext.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/mlab.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/mpl.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/patches.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/path.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/pylab.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/pyparsing.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/pyplot.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/quiver.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/rcsetup.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/scale.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/table.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/texmanager.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/text.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/ticker.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/transforms.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/type1font.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/units.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/widgets.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> copying lib/matplotlib/windowing.py -> 
> build/lib.macosx-10.3-ppc-2.6/matplotlib
> creating build/lib.macosx-10.3-ppc-2.6/matplotlib/backends
>
> # [ abridged ] #
>
> running build_ext
> building 'matplotlib.ft2font' extension
> creating build/temp.macosx-10.3-ppc-2.6
> creating build/temp.macosx-10.3-ppc-2.6/src
> creating build/temp.macosx-10.3-ppc-2.6/CXX
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/ft2font.cpp -o build/temp.macosx-10.3-ppc-2.6/src/ft2font.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/mplutils.cpp -o build/temp.macosx-10.3-ppc-2.6/src/mplutils.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c CXX/cxx_extensions.cxx -o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c CXX/cxxsupport.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c CXX/IndirectPythonInterface.cxx -o 
> build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c CXX/cxxextensions.c -o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o
> g++ -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/src/ft2font.o 
> build/temp.macosx-10.3-ppc-2.6/src/mplutils.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o -L/usr/local/lib 
> -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o 
> build/lib.macosx-10.3-ppc-2.6/matplotlib/ft2font.so
> building 'matplotlib.ttconv' extension
> creating build/temp.macosx-10.3-ppc-2.6/ttconv
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/_ttconv.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c ttconv/pprdrv_tt.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c ttconv/pprdrv_tt2.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c ttconv/ttutil.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> g++ -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o 
> build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o 
> build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o 
> build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o -L/usr/local/lib 
> -L/usr/lib -L/usr/X11R6/lib -o 
> build/lib.macosx-10.3-ppc-2.6/matplotlib/ttconv.so
> building 'matplotlib._cntr' extension
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/cntr.c -o build/temp.macosx-10.3-ppc-2.6/src/cntr.o
> gcc -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/src/cntr.o -L/usr/local/lib -L/usr/lib 
> -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_cntr.so
> building 'matplotlib._delaunay' extension
> creating build/temp.macosx-10.3-ppc-2.6/lib
> creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib
> creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c lib/matplotlib/delaunay/_delaunay.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
>
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: 
> warning: 'int _import_array()' defined but not used
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c lib/matplotlib/delaunay/delaunay_utils.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c lib/matplotlib/delaunay/natneighbors.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> g++ -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o 
> build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o 
> -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o 
> build/lib.macosx-10.3-ppc-2.6/matplotlib/_delaunay.so
> building 'matplotlib.nxutils' extension
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/nxutils.c -o build/temp.macosx-10.3-ppc-2.6/src/nxutils.o
> gcc -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/src/nxutils.o -L/usr/local/lib 
> -L/usr/lib -L/usr/X11R6/lib -o 
> build/lib.macosx-10.3-ppc-2.6/matplotlib/nxutils.so
> building 'matplotlib._path' extension
> creating build/temp.macosx-10.3-ppc-2.6/agg24
> creating build/temp.macosx-10.3-ppc-2.6/agg24/src
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_curves.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_bezier_arc.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_trans_affine.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_vcgen_stroke.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/path.cpp -o build/temp.macosx-10.3-ppc-2.6/src/path.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> g++ -bundle -undefined dynamic_lookup 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o 
> build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o 
> build/temp.macosx-10.3-ppc-2.6/src/path.o -L/usr/local/lib -L/usr/lib 
> -L/usr/X11R6/lib -lstdc++ -lm -o 
> build/lib.macosx-10.3-ppc-2.6/matplotlib/_path.so
> building 'matplotlib.backends._backend_agg' extension
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_vcgen_dash.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_dash.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c agg24/src/agg_image_filters.cpp -o 
> build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_image_filters.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/_image.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_image.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> agg24/include/agg_rasterizer_scanline_aa.h: In member function 
> 'Py::Object Image::resize(const Py::Tuple&, const Py::Dict&)':
> agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be 
> used uninitialized in this function
> agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be 
> used uninitialized in this function
> gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 
> -Wall -Wstrict-prototypes 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -Isrc -Iagg24/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include 
> -I/usr/include -I/usr/X11R6/include -I. 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 
>
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 
> -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 
> -c src/backend_agg.cpp -o build/temp.macosx-10.3-ppc-2.6/src/backend_agg.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
> for C/ObjC but not for C++
> src/backend_agg.cpp:3:17: error: png.h: No such file or directory
> agg24/include/agg_conv_curve.h: In member function 'unsigned int 
> agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, 
> double*) [with VertexSource = 
> agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, 
> agg::trans_affine>, Curve3 = agg::curve3, Curve4 = agg::curve4]':
> agg24/include/agg_conv_curve.h:160: warning: 'end_y' may be used 
> uninitialized in this function
> agg24/include/agg_conv_curve.h:159: warning: 'end_x' may be used 
> uninitialized in this function
> agg24/include/agg_conv_curve.h:158: warning: 'ct2_y' may be used 
> uninitialized in this function
> agg24/include/agg_conv_curve.h:157: warning: 'ct2_x' may be used 
> uninitialized in this function
> agg24/include/agg_rasterizer_scanline_aa.h: In member function 'void 
> RendererAgg::_draw_path(path_t&, bool, const std::pair<bool, 
> agg::rgba>&, const GCAgg&) [with PathIteratorType = 
> agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, 
> agg::trans_affine>]':
> agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be 
> used uninitialized in this function
> agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be 
> used uninitialized in this function
> agg24/include/agg_rasterizer_scanline_aa.h: In member function 
> 'Py::Object RendererAgg::draw_text_image(const Py::Tuple&)':
> agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be 
> used uninitialized in this function
> agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be 
> used uninitialized in this function
> error: command 'gcc' failed with exit status 1
>
> I'm having trouble interpretting this - any ideas?
>
> Thanks,
> Nat
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

--

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Nat Wilson | 7 Oct 19:23

Re: compiling problems w/ py2.6 on OS 10.4

So I've tried to install pkgconfig again, running ./configure, make, and then sudo make install.\

######:~/Desktop/pkg-config-0.23 natwilson$ sudo make install
Password:
Making install in glib-1.2.10
make  install-recursive
Making install in .
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in gmodule
make  install-am
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in gthread
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in docs
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in tests
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in check
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
/bin/sh ./mkinstalldirs /usr/local/bin
  /bin/sh ./libtool --mode=install /usr/bin/install -c pkg-config /usr/local/bin/pkg-config
/usr/bin/install -c pkg-config /usr/local/bin/pkg-config
/bin/sh ./mkinstalldirs /usr/local/share/aclocal
 /usr/bin/install -c -m 644 pkg.m4 /usr/local/share/aclocal/pkg.m4
/bin/sh ./mkinstalldirs /usr/local/share/man/man1
 /usr/bin/install -c -m 644 ./pkg-config.1 /usr/local/share/man/man1/pkg-config.1
 
I presume libpng to be where it is by default; I haven't explicitly installed it. I have xcode installed, so I added as instructed:

export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig

and tried to build, with the same result as before.

Tried again, placing '/usr/X11R6/lib/pkgconfig' in the setupext.py script, although '/usr/X11R6' is already there. Same thing.

When I looked in '/usr/X11R6/lib/pkgconfig', I only found:
fontconfig.pc   xcursor.pc      xft.pc

Is this right?

As you may be able to tell, I'm running a little blindly.

Nat

On Oct 7, 2008, at 10:27 AM, Michael Droettboom wrote:

matplotlib 0.98.3 predates the release of Python 2.6, so it is unsupported in that combination.  There were recent changes made to matplotlib in SVN to make it (more) Python 2.6 compatible.  You may run into further trouble trying to get it to work with Python 2.6

That, however, doesn't seem to be the root of your compilation problem.

src/backend_agg.cpp:3:17: error: png.h: No such file or directory

...indicates that it can not find the headers for libpng.  Did you follow the instructions here:


...particularly regarding installing pkgconfig?

If not, let us know where your libpng is installed.  You can try, as a hack, adding that directory to the list of the darwin directories at the top of setupext.py.

Cheers,
Mike

Nat Wilson wrote:
(message was too long before, and bounced. trying again, having abridged the terminal output)

I've just installed python 2.6, and I'm having trouble compiling matplotlib.

The problem is generally the same whether I try to build it myself or use easy_install.

Here are my specs:
Python 2.6
matplotlib 0.98.3
numpy 1.2.0

on a Apple iBook G4, running OS 10.4.11.

In the past, I've had no problems getting it working with Python 2.5, although since then I've changed from tcl/tk 8.4 to tcl/tk 8.5.

Here is the output in the terminal:

######:~/Desktop/matplotlib-0.98.3 natwilson$ python setup.py build
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:67: DeprecationWarning: the sets module is deprecated
  from sets import Set
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 0.98.3
                python: 2.6 (r26:66714, Oct  6 2008, 18:19:26)  [GCC 4.0.1
                        (Apple Computer, Inc. build 5370)]
              platform: darwin

REQUIRED DEPENDENCIES
                 numpy: 1.2.0
             freetype2: found, but unknown version (no pkg-config)

OPTIONAL BACKEND DEPENDENCIES
                libpng: found, but unknown version (no pkg-config)
                        * Could not find 'libpng' headers in any of
                        * '/usr/include', '/usr/X11R6/include', '.'
               Tkinter: Tkinter: 65971, Tk: 8.5, Tcl: 8.5
              wxPython: no
                        * wxPython not found
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
                    Qt: no
                   Qt4: no
                 Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: matplotlib will provide
                  pytz: matplotlib will provide

OPTIONAL USETEX DEPENDENCIES
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:502: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('dvipng -version')
                dvipng: no
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:515: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4(command)
           ghostscript: 8.62
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:524: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('latex -version')
                 latex: 3.1415926
/Users/natwilson/Desktop/matplotlib-0.98.3/setupext.py:536: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  stdin, stdout = os.popen4('pdftops -v')

EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
             configobj: matplotlib will provide
      enthought.traits: no

[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
creating build
creating build/lib.macosx-10.3-ppc-2.6
copying lib/pylab.py -> build/lib.macosx-10.3-ppc-2.6
copying lib/configobj.py -> build/lib.macosx-10.3-ppc-2.6
creating build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/__init__.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_mathtext_data.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/_pylab_helpers.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/afm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/artist.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axes.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axes3d.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/axis.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/backend_bases.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/blocking_input.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/cbook.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/cm.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/collections.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/colorbar.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/colors.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/contour.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/dates.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/dviread.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/figure.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/finance.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/font_manager.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/fontconfig_pattern.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/image.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/legend.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/lines.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mathtext.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mlab.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/mpl.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/patches.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/path.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pylab.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pyparsing.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/pyplot.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/quiver.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/rcsetup.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/scale.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/table.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/texmanager.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/text.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/ticker.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/transforms.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/type1font.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/units.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/widgets.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
copying lib/matplotlib/windowing.py -> build/lib.macosx-10.3-ppc-2.6/matplotlib
creating build/lib.macosx-10.3-ppc-2.6/matplotlib/backends

# [ abridged ] #

running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.macosx-10.3-ppc-2.6
creating build/temp.macosx-10.3-ppc-2.6/src
creating build/temp.macosx-10.3-ppc-2.6/CXX
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/ft2font.cpp -o build/temp.macosx-10.3-ppc-2.6/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/mplutils.cpp -o build/temp.macosx-10.3-ppc-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxx_extensions.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxxsupport.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/IndirectPythonInterface.cxx -o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c CXX/cxxextensions.c -o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/ft2font.o build/temp.macosx-10.3-ppc-2.6/src/mplutils.o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-ppc-2.6/matplotlib/ft2font.so
building 'matplotlib.ttconv' extension
creating build/temp.macosx-10.3-ppc-2.6/ttconv
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/_ttconv.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/pprdrv_tt.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/pprdrv_tt2.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ttconv/ttutil.cpp -o build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/_ttconv.o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt.o build/temp.macosx-10.3-ppc-2.6/ttconv/pprdrv_tt2.o build/temp.macosx-10.3-ppc-2.6/ttconv/ttutil.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/ttconv.so
building 'matplotlib._cntr' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/cntr.c -o build/temp.macosx-10.3-ppc-2.6/src/cntr.o
gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/cntr.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_cntr.so
building 'matplotlib._delaunay' extension
creating build/temp.macosx-10.3-ppc-2.6/lib
creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib
creating build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/_delaunay.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: warning: 'int _import_array()' defined but not used
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/delaunay_utils.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c lib/matplotlib/delaunay/natneighbors.cpp -o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/_delaunay.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/delaunay_utils.o build/temp.macosx-10.3-ppc-2.6/lib/matplotlib/delaunay/natneighbors.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_delaunay.so
building 'matplotlib.nxutils' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/nxutils.c -o build/temp.macosx-10.3-ppc-2.6/src/nxutils.o
gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/src/nxutils.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o build/lib.macosx-10.3-ppc-2.6/matplotlib/nxutils.so
building 'matplotlib._path' extension
creating build/temp.macosx-10.3-ppc-2.6/agg24
creating build/temp.macosx-10.3-ppc-2.6/agg24/src
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_curves.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_bezier_arc.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_trans_affine.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/path.cpp -o build/temp.macosx-10.3-ppc-2.6/src/path.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_curves.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_bezier_arc.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_trans_affine.o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_stroke.o build/temp.macosx-10.3-ppc-2.6/CXX/cxx_extensions.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxsupport.o build/temp.macosx-10.3-ppc-2.6/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-ppc-2.6/CXX/cxxextensions.o build/temp.macosx-10.3-ppc-2.6/src/path.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lstdc++ -lm -o build/lib.macosx-10.3-ppc-2.6/matplotlib/_path.so
building 'matplotlib.backends._backend_agg' extension
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_vcgen_dash.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c agg24/src/agg_image_filters.cpp -o build/temp.macosx-10.3-ppc-2.6/agg24/src/agg_image_filters.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/_image.cpp -o build/temp.macosx-10.3-ppc-2.6/src/_image.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'Py::Object Image::resize(const Py::Tuple&, const Py::Dict&)':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/usr/include -I/usr/X11R6/include -I. -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/backend_agg.cpp -o build/temp.macosx-10.3-ppc-2.6/src/backend_agg.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
src/backend_agg.cpp:3:17: error: png.h: No such file or directory
agg24/include/agg_conv_curve.h: In member function 'unsigned int agg::conv_curve<VertexSource, Curve3, Curve4>::vertex(double*, double*) [with VertexSource = agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, agg::trans_affine>, Curve3 = agg::curve3, Curve4 = agg::curve4]':
agg24/include/agg_conv_curve.h:160: warning: 'end_y' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:159: warning: 'end_x' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:158: warning: 'ct2_y' may be used uninitialized in this function
agg24/include/agg_conv_curve.h:157: warning: 'ct2_x' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'void RendererAgg::_draw_path(path_t&, bool, const std::pair<bool, agg::rgba>&, const GCAgg&) [with PathIteratorType = agg::conv_transform<QuadMeshGenerator::QuadMeshPathIterator, agg::trans_affine>]':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h: In member function 'Py::Object RendererAgg::draw_text_image(const Py::Tuple&)':
agg24/include/agg_rasterizer_scanline_aa.h:191: warning: 'y' may be used uninitialized in this function
agg24/include/agg_rasterizer_scanline_aa.h:190: warning: 'x' may be used uninitialized in this function
error: command 'gcc' failed with exit status 1

I'm having trouble interpretting this - any ideas?

Thanks,
Nat
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list

  


-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Gmane