Hi. I've seen this problem before.

I think that you need to install freetype developer. The easiest way  
to install this is with macports and then type "port install freetype"




On Mar 21, 2008, at 9:50 PM, Andrew Charles wrote:

> Yes it was the matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg I tried to
> install. I've posted the entire easy_install output below. I'll let
> the list know if i resolve the problem.
>
> Andrew
>
> ---------------------------------------------------
>
> Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
> creating /Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
> Extracting matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg to
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- 
> packages
> Adding matplotlib 0.91.2 to easy-install.pth file
>
> Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
> Processing dependencies for matplotlib==0.91.2
> Searching for matplotlib==0.91.2
> Reading http://pypi.python.org/simple/matplotlib/
> Reading http://matplotlib.sourceforge.net
> 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.91.2
> Downloading 
> http://downloads.sourceforge.net/matplotlib/matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
> Processing matplotlib-0.91.2.tar.gz
> Running matplotlib-0.91.2/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-QGmbAu/matplotlib-0.91.2/egg-dist-tmp-hsIe8R
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> BUILDING MATPLOTLIB
>            matplotlib: 0.91.2
>                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.0.5.dev4897
>             freetype2: 9.16.3
>
> OPTIONAL BACKEND DEPENDENCIES
>                libpng: 1.2.24
>               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
>              wxPython: no
>                        * wxPython not found
>                  Gtk+: no
>                        * Building for Gtk+ requires pygtk; you must  
> be able
>                        * to "import gtk" in your build/install  
> environment
>                    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: 8.57
>                 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 'lib/matplotlib/toolkits'
> no previously-included directories found matching 'examples/_tmp_*'
> In file included from
> /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
> Python.h:8,
>                 from ./CXX/WrapPython.h:47,
>                 from ./CXX/Extensions.hxx:48,
>                 from src/ft2font.h:18,
>                 from src/ft2font.cpp:2:
> /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
> pyconfig.h:814:1:
> warning: "SIZEOF_LONG" redefined
> In file included from /usr/X11/include/freetype2/freetype/freetype.h: 
> 41,
>                 from src/ft2font.h:12,
>                 from src/ft2font.cpp:2:
> /usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning:
> this is the location of the previous definition
> In file included from
> /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
> Python.h:8,
>                 from ./CXX/WrapPython.h:47,
>                 from ./CXX/Extensions.hxx:48,
>                 from src/ft2font.h:18,
>                 from src/ft2font.cpp:2:
> /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
> pyconfig.h:814:1:
> warning: "SIZEOF_LONG" redefined
> In file included from /usr/X11/include/freetype2/freetype/freetype.h: 
> 41,
>                 from src/ft2font.h:12,
>                 from src/ft2font.cpp:2:
> /usr/X11/include/freetype2/freetype/config/ftconfig.h:65: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:47,
>                 from CXX/cxxextensions.c:38:
> /usr/include/architecture/ppc/math.h:675: warning: conflicting types
> for built-in function ‘scalb’
> ld: in /sw/lib/libJPEG.dylib, file is not of required architecture for
> architecture ppc
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccG9WQI9.out (No such file or  
> directory)
> error: Setup script exited with error: command 'g++' 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 0x1b5f4b8>> ignored
> Exception exceptions.OSError: (2, 'No such file or directory',
> 'src/transforms.cpp') in <bound method CleanUpFile.__del__ of
> <setupext.CleanUpFile instance at 0x1b5ccd8>> ignored
> Exception exceptions.OSError: (2, 'No such file or directory',
> 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of
> <setupext.CleanUpFile instance at 0x1b5f030>> ignored
>
> -------------------------------------------------------------------------
> 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
>


-------------------------------------------------------------------------
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

Reply via email to