The problem appears to be the "-fat" at the end of the file name. The filename 'matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg' _works_, but then downloads the tarball and tries to build the source, which _fails_ with gcc 4.0. Perhaps rename the egg and repost to sourceforge?
This WORKS: ########################################################## [EMAIL PROTECTED] $ cp matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg matplotlib-0.98.0-py2.5-macosx-10.3.egg [EMAIL PROTECTED] $ easy_install matplotlib-0.98.0-py2.5-macosx-10.3.egg Processing matplotlib-0.98.0-py2.5-macosx-10.3.egg creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3.egg Extracting matplotlib-0.98.0-py2.5-macosx-10.3.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages Removing matplotlib 0.98.0 from easy-install.pth file Adding matplotlib 0.98.0 to easy-install.pth file Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3.egg Processing dependencies for matplotlib==0.98.0 Finished processing dependencies for matplotlib==0.98.0 The long name WORKS BUT then downloads the tarball and the build FAILS: ########################################################## [EMAIL PROTECTED] $ easy_install ./matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg Processing matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg removing '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg' (and everything under it) creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg Extracting matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages Removing matplotlib 0.91.2svn from easy-install.pth file Adding matplotlib 0.98.0 to easy-install.pth file Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg Processing dependencies for matplotlib==0.98.0 Searching for matplotlib==0.98.0 Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Best match: matplotlib 0.98.0 Downloading http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.0.tar.gz?modtime=1212104461&big_mirror=0 Processing matplotlib-0.98.0.tar.gz Running matplotlib-0.98.0/setup.py -q bdist_egg --dist-dir /var/folders/Yd/Yd035yKSFsquGZJJL5FzVE+++TI/-Tmp-/easy_install-aJSbMP/matplotlib-0.98.0/egg-dist-tmp-0gX7af ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.98.0 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.0.dev5252 freetype2: 9.16.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.24 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: 2.8.7.1 * WxAgg extension not required for wxPython >= 2.8 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 dvipng: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: matplotlib will provide [Edit setup.cfg to suppress the above messages] ============================================================================ warning: no files found matching 'NUMARRAY_ISSUES' warning: no files found matching 'MANIFEST' warning: no files found matching 'matplotlibrc' warning: no files found matching 'makeswig.py' warning: no files found matching 'lib/mpl_toolkits' no previously-included directories found matching 'examples/_tmp_*' warning: no files found matching '*' under directory 'swig' In file included from /usr/X11/include/freetype2/freetype/freetype.h:41, from src/ft2font.h:14, from src/ft2font.cpp:1: /usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning: "SIZEOF_LONG" redefined In file included from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:8, from ./CXX/WrapPython.h:42, from ./CXX/Extensions.hxx:48, from src/ft2font.h:4, from src/ft2font.cpp:1: /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:814:1: warning: this is the location of the previous definition In file included from /usr/X11/include/freetype2/freetype/freetype.h:41, from src/ft2font.h:14, from src/ft2font.cpp:1: /usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning: "SIZEOF_LONG" redefined In file included from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:8, from ./CXX/WrapPython.h:42, from ./CXX/Extensions.hxx:48, from src/ft2font.h:4, from src/ft2font.cpp:1: /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:814:1: warning: this is the location of the previous definition In file included from /usr/include/math.h:26, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57, from ./CXX/WrapPython.h:42, from CXX/cxxextensions.c:38: /usr/include/architecture/ppc/math.h:675: warning: conflicting types for built-in function 'scalb' In file included from /usr/include/math.h:26, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57, from src/cntr.c:17: /usr/include/architecture/ppc/math.h:675: warning: conflicting types for built-in function 'scalb' In file included from /usr/include/math.h:26, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57, from src/nxutils.c:1: /usr/include/architecture/ppc/math.h:675: warning: conflicting types for built-in function 'scalb' src/_image.cpp: In member function 'Py::Object _image_module::from_images(const Py::Tuple&)': src/_image.cpp:848: error: insn does not satisfy its constraints: (insn 2573 1070 2574 126 agg24/include/agg_color_rgba.h:268 (set (mem:QI (plus:SI (reg/f:SI 6 bp) (const_int -280 [0xfffffffffffffee8])) [0 SR.2970+0 S1 A8]) (reg:QI 5 di)) 56 {*movqi_1} (nil) (nil)) src/_image.cpp:848: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. lipo: can't figure out the architecture type of: /var/folders/Yd/Yd035yKSFsquGZJJL5FzVE+++TI/-Tmp-//ccqMmzC6.out error: Setup script exited with error: command 'gcc' failed with exit status 1 Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x1af5a08>> ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/path.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x1af5300>> ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x1af55f8>> ignored On Mon, Jun 2, 2008 at 2:35 PM, Christopher Barker <[EMAIL PROTECTED]> wrote: > Vincent Noel wrote: >> If you rename matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg to >> matplotlib-0.98.0-py2.5.egg, >> easy_install will install it from the disk. > > It installed just fine for me with the long name.... > >>> easy_install ./matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg >>> >>> Processing matplotlib-0.98.0-py2.5-macosx-10.3-fat.egg >>> removing '/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5- > > This is a bit odd -- a Framework Build of Python should be in > /Library/Frameworks... (or System/Library/Frameworks). Maybe that egg > doesn't work right with a non-framework build. > > I think it should work with either the 2.5 Apple supplies with OS-X > 10.5, or the python.org 2.5 build. > > -Chris > > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [EMAIL PROTECTED] > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Christopher Burns Computational Infrastructure for Research Labs 10 Giannini Hall, UC Berkeley phone: 510.643.4014 http://cirl.berkeley.edu/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users