In article <50509fb1.7070...@stsci.edu>, Michael Droettboom <md...@stsci.edu> wrote:
> I have tagged and created a tarball for 1.2.0rc1. The githash is > bda6dd9feab8. The tarball is on the github download page here: > > https://github.com/matplotlib/matplotlib/downloads I have a Mac OS X 10.6, python.org 64-bit python 2.7 version ready. I have uploaded it here: <http://www.astro.washington.edu/users/rowen/python/matplotlib-1.2.0rc1-p y2.7-python.org-macosx10.6.dmg> since I could not figure out how to upload it to the github page (I am logged in as r-owen but no sign of upload capability). The test results look good to me, though the warning is a pity: localhost$ python -c "import matplotlib as m ; m.test(verbosity=1)" ......................................................................... ......................................................................... .........SSS.K...............................K........................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... .............................................................../Library/F rameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matpl otlib/gridspec.py:298: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. warnings.warn("This figure includes Axes that are not " .............................. ---------------------------------------------------------------------- Ran 1188 tests in 474.571s OK (KNOWNFAIL=2, SKIP=3) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/__init__.py:997: UserWarning: This call to matplotlib.use() has no effect because the the backend has already been chosen; matplotlib.use() must be called *before* pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time. warnings.warn(_use_error_msg) I also tried to build a Mac OS X 10.3, python.org 32-bit python, but that failed. Any advice on how to proceed would be welcome. I have appended the build log. -- Russell Log of failed build for Mac OS X 10.3 (on Mac OS X 10.4) for python.org 32-bit python 2.7. d-173-250-206-120:/Archives/PythonPackages/matplotlib-1.2.0rc1 rowen$ python setup.py build basedirlist is: ['/usr/local/', '/usr', '/usr/X11'] ========================================================================= === BUILDING MATPLOTLIB matplotlib: 1.2.0rc1 python: 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 14:13:39) [GCC 4.0.1 (Apple Inc. build 5493)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.6.2 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) Tkinter: Tkinter: version not identified, Tk: 8.4, Tcl: 8.4 Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no PySide: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES dateutil: matplotlib will provide pytz: matplotlib will provide adding pytz OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: /bin/sh: line 1: gs: command not found latex: no [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.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo'] running build running build_py creating build creating build/lib.macosx-10.3-fat-2.7 copying lib/pylab.py -> build/lib.macosx-10.3-fat-2.7 creating build/lib.macosx-10.3-fat-2.7/matplotlib copying lib/matplotlib/__init__.py -> build/lib.macosx-10.3-fat-2.7/matplotlib ... copying lib/dateutil_py2/zoneinfo/zoneinfo-2010g.tar.gz -> build/lib.macosx-10.3-fat-2.7/dateutil/zoneinfo running build_ext building 'matplotlib.ft2font' extension creating build/temp.macosx-10.3-fat-2.7 creating build/temp.macosx-10.3-fat-2.7/src creating build/temp.macosx-10.3-fat-2.7/CXX gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/X11/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.7/src/ft2font.o ... building 'matplotlib.backends._tkagg' extension gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/X11/include -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders -I/usr/local/include -I/usr/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/X11/include/freetype2 -I/Library/Frameworks/Tcl.framework/Headers/freetype2 -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders/freet ype2 -I/Library/Frameworks/Tk.framework/Headers/freetype2 -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders/freety pe2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include/freetype2 -Isrc/freetype2 -Iagg24/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/agg_py_transforms.cpp -o build/temp.macosx-10.3-fat-2.7/src/agg_py_transforms.o -framework Tcl -framework Tk powerpc-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: Tcl: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done powerpc-apple-darwin8-gcc-4.0.1: Tk: linker input file unused because linking not done i686-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin8-gcc-4.0.1: Tcl: linker input file unused because linking not done i686-apple-darwin8-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin8-gcc-4.0.1: Tk: linker input file unused because linking not done ...(five more compiles with these same warnings elided)... c++ -bundle -undefined dynamic_lookup -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g build/temp.macosx-10.3-fat-2.7/src/agg_py_transforms.o build/temp.macosx-10.3-fat-2.7/src/_tkagg.o build/temp.macosx-10.3-fat-2.7/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.7/CXX/cxxsupport.o build/temp.macosx-10.3-fat-2.7/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.7/matplotlib/backends/_tkagg.so -framework Tcl -framework Tk building 'matplotlib.backends._macosx' extension gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/X11/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa ckages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/_macosx.m -o build/temp.macosx-10.3-fat-2.7/src/_macosx.o src/_macosx.m: In function 'show': src/_macosx.m:5763: error: nested functions are disabled, use -fnested-functions to re-enable src/_macosx.m:5763: error: syntax error before 'in' src/_macosx.m: At top level: src/_macosx.m:5768: error: parse error before 'PyObject' src/_macosx.m: In function 'show': src/_macosx.m:5763: error: nested functions are disabled, use -fnested-functions to re-enable src/_macosx.m:5763: error: syntax error before 'in' src/_macosx.m: At top level: src/_macosx.m:5768: error: parse error before 'PyObject' lipo: can't figure out the architecture type of: /var/tmp//ccI9WUN2.out error: command 'gcc-4.0' failed with exit status 1 d-173-250-206-120:/Archives/PythonPackages/matplotlib-1.2.0rc1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel