---------- Forwarded message ---------- From: C M <cmpyt...@gmail.com> Date: Mon, Apr 19, 2010 at 1:02 PM Subject: Re: [Matplotlib-users] install from svn on Linux not working for me To: Darren Dale <dsdal...@gmail.com>
On Mon, Apr 19, 2010 at 8:02 AM, Darren Dale <dsdal...@gmail.com> wrote: > On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <lukshun...@gmail.com> wrote: >> On 04/19/2010 01:52 PM, C M wrote: >>> My goal is to just get the lastest svn version of matplotlib, or, if >>> not that, just the 0.99 version, up and working on my Linux (Intrepid >>> Ibex) computer. I checked it matplotlib out from svn fine, and then, >>> as per the webpage, did: >>> >>>> cd matplotlib >>>> python setup.py install >>> >>> and that resulted in a very large amount of errors. I'll post them at >>> the bottom of this message, since there are many lines. >>> >>> I previously had 0.98.x installed, via the Ubuntu repositories, but I >>> have uninstalled it. My version is: >>> Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 >>> x86_64 GNU/Linux >>> >>> Any help is appreciated. Thank you, >>> Che >>> >>> Errors (starting from a few lines before): >>> >>> creating build/temp.linux-x86_64-2.5/src >>> creating build/temp.linux-x86_64-2.5/CXX >>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >>> -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API >>> -DPYCXX_ISO_CPP_LIB=1 >>> -I/usr/lib/python2.5/site-packages/numpy/core/include >>> -I/usr/local/include -I/usr/include -I. >>> -I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2 >>> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 >>> -I/usr/include/python2.5 -c src/ft2font.cpp -o >>> build/temp.linux-x86_64-2.5/src/ft2font.o >>> cc1plus: warning: command line option "-Wstrict-prototypes" is valid >>> for Ada/C/ObjC but not for C++ >>> In file included from ./CXX/Extensions.hxx:37, >>> from src/ft2font.h:4, >>> from src/ft2font.cpp:1: >>> ./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory >> >> You seem not to have the development package of python installed. >> Try "sudo apt-get install python-dev". > > It looks like you are need to install libfreetype6-dev. Any time you > see missing .h files in your output, it means you need to install the > development headers for that package. > > Darren Thanks, but after installing libfreetype6-dev, I tried to install matplotlib again and still get a lot of errors. Listed below. Che Ouput of install: basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.svn python: 2.5.2 (r252:60911, Jan 20 2010, 23:33:04) [GCC 4.3.2] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: 9.18.3 OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter wxPython: 2.8.10.1 * WxAgg extension not required for wxPython >= 2.8 pkg-config: looking for pygtk-2.0 gtk+-2.0 * Package pygtk-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'pygtk-2.0' found * Package gtk+-2.0 was not found in the pkg-config * search path. Perhaps you should add the directory * containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH * environment variable No package 'gtk+-2.0' found * You may need to install 'dev' package(s) to * provide header files. Gtk+: no * Could not find Gtk+ headers in any of * '/usr/local/include', '/usr/include', '.' Mac OS X native: no Qt: no Qt4: no Cairo: 1.4.12 OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: 1.4 pytz: 2008b OPTIONAL USETEX DEPENDENCIES dvipng: 1.11 ghostscript: 8.63 latex: 3.141592 pdftops: 3.00 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra', 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft', 'matplotlib.delaunay'] running install running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux-x86_64-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.5/src/ft2font.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.5/src/mplutils.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/ft2font.o build/temp.linux-x86_64-2.5/src/mplutils.o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o -L/usr/local/lib -lfreetype -lz -lz -lstdc++ -lm -o build/lib.linux-x86_64-2.5/matplotlib/ft2font.so building 'matplotlib.ttconv' extension creating build/temp.linux-x86_64-2.5/ttconv gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/_ttconv.cpp -o build/temp.linux-x86_64-2.5/src/_ttconv.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/pprdrv_tt.cpp -o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c ttconv/ttutil.cpp -o build/temp.linux-x86_64-2.5/ttconv/ttutil.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/_ttconv.o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt.o build/temp.linux-x86_64-2.5/ttconv/pprdrv_tt2.o build/temp.linux-x86_64-2.5/ttconv/ttutil.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/ttconv.so building 'matplotlib._cntr' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/cntr.c -o build/temp.linux-x86_64-2.5/src/cntr.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/cntr.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_cntr.so building 'matplotlib._delaunay' extension creating build/temp.linux-x86_64-2.5/lib creating build/temp.linux-x86_64-2.5/lib/matplotlib creating build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/_delaunay.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* nn_interpolate_unstructured_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:469: warning: ‘intz’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* nn_interpolate_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘z’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘centers’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:592: warning: ‘neighbors’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* compute_planes_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘z’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:315: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* linear_interpolate_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘neighbors’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘nodes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘y’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:377: warning: ‘planes’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* getMesh(int, double*, double*)’: lib/matplotlib/delaunay/_delaunay.cpp:209: warning: ‘vertices’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_nbrs’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp:116: warning: ‘tri_edges’ may be used uninitialized in this function lib/matplotlib/delaunay/_delaunay.cpp: In function ‘PyObject* delaunay_method(PyObject*, PyObject*)’: lib/matplotlib/delaunay/_delaunay.cpp:667: warning: ‘y’ may be used uninitialized in this function gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function ‘bool VoronoiDiagramGenerator::voronoi(int)’: lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning: ‘newintstar.Point::y’ may be used uninitialized in this function gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/delaunay_utils.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c lib/matplotlib/delaunay/natneighbors.cpp -o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/_delaunay.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/VoronoiDiagramGenerator.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/delaunay_utils.o build/temp.linux-x86_64-2.5/lib/matplotlib/delaunay/natneighbors.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/_delaunay.so building 'matplotlib.nxutils' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/nxutils.c -o build/temp.linux-x86_64-2.5/src/nxutils.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/nxutils.o -L/usr/local/lib -o build/lib.linux-x86_64-2.5/matplotlib/nxutils.so building 'matplotlib._path' extension creating build/temp.linux-x86_64-2.5/agg24 creating build/temp.linux-x86_64-2.5/agg24/src gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_curves.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c agg24/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/agg_py_transforms.cpp -o build/temp.linux-x86_64-2.5/src/agg_py_transforms.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/path_cleanup.cpp -o build/temp.linux-x86_64-2.5/src/path_cleanup.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.5 -c src/path.cpp -o build/temp.linux-x86_64-2.5/src/path.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/path.cpp: In function ‘void clip_to_rect(PathIterator&, double, double, double, double, bool, std::vector<std::vector<XY, std::allocator<XY> >, std::allocator<std::vector<XY, std::allocator<XY> > > >&)’: src/path.cpp:821: warning: ‘y’ may be used uninitialized in this function src/path.cpp:821: warning: ‘x’ may be used uninitialized in this function g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/agg24/src/agg_curves.o build/temp.linux-x86_64-2.5/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.5/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.5/CXX/cxxsupport.o build/temp.linux-x86_64-2.5/CXX/cxx_extensions.o build/temp.linux-x86_64-2.5/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o build/temp.linux-x86_64-2.5/src/agg_py_transforms.o build/temp.linux-x86_64-2.5/src/path_cleanup.o build/temp.linux-x86_64-2.5/src/path.o -L/usr/local/lib -lstdc++ -lm -o build/lib.linux-x86_64-2.5/matplotlib/_path.so building 'matplotlib.backends._backend_agg' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c agg24/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_vcgen_dash.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.5/agg24/src/agg_image_filters.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c src/backend_agg.cpp -o build/temp.linux-x86_64-2.5/src/backend_agg.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ src/backend_agg.cpp:3:17: error: png.h: No such file or directory src/backend_agg.cpp: In member function ‘Py::Object RendererAgg::draw_image(const Py::Tuple&)’: src/backend_agg.cpp:824: warning: ‘h’ may be used uninitialized in this function src/backend_agg.cpp:824: warning: ‘w’ may be used uninitialized in this function error: command 'gcc' failed with exit status 1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users