Installing 0.91.2 on OS X 10.5 Leopard (corrected)

I finally bit the bullet and decided to upgrade to Leopard.
The MatPlotLib 0.91.2 egg fails to install.

Configuration:
  MacBook Pro
  OS X 10.5.2
  
  Python 2.5.2 from http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg

  NumPy 1.04 from http://www.pythonmac.org/packages/py25-fat/dmg/
numpy-1.0.4-py2.5-macosx10.4-2007-11-07.dmg

  WxPython 2.8.7.1 wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg

0.9.1.2 egg from http://downloads.sourceforge.net/matplotlib/
matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg?
modtime=1200067054&big_mirror=0

When I use easy_install on the egg I get a bunch of errors and the
install fails.
(see bottom of this email)

What's the recommended approach for installing on 10.5?

Should I Install from source?
   I noticed on the scipy wiki http://ipython.scipy.org/moin/
MatplotlibOSXBuildNotes
the the directions are for 10.4. Namely these instructions are 10.4
specific

quaternion:mpl-build cmoad$ export MACOSX_DEPLOYMENT_TARGET=10.4
quaternion:mpl-build cmoad$ export CFLAGS="-arch i386 -arch ppc -
isysroot /Developer/SDKs/MacOSX10.4u.sdk"
quaternion:mpl-build cmoad$ export LDFLAGS="-arch i386 -arch ppc -
syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"

Will changing 10.4 to 10.5 work above? or is there something else
needed for 10.5?

···

--------
$ sudo easy_install /Volumes/Aux/Install/Python/MacPython/
Python2.5.x/archive/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Password:
Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Copying 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-tT3TDi/matplotlib-0.91.2/egg-dist-tmp-244PY0

====
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.4
               freetype2: 9.16.3

OPTIONAL BACKEND DEPENDENCIES
                  libpng: 1.2.25
                 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: 1.4
                    pytz: 2007k

OPTIONAL USETEX DEPENDENCIES
                  dvipng: 1.9
             ghostscript: 8.61
                   latex: 3.141592
                 pdftops: 3.02

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 /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: warning in /opt/local/lib/libfreetype.dylib, file is not of
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or
directory)
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or
directory)
error: Setup script exited with error: Command "g++ -arch i386 -arch
ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined
dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o build/
temp.macosx-10.3-i386-2.5/src/mplutils.o build/temp.macosx-10.3-
i386-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-i386-2.5/CXX/
cxxsupport.o build/temp.macosx-10.3-i386-2.5/CXX/
IndirectPythonInterface.o build/temp.macosx-10.3-i386-2.5/CXX/
cxxextensions.o -L/opt/local/lib -L/usr/local/lib -L/usr/lib -L/usr/
X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-
i386-2.5/matplotlib/ft2font.so -Wl,-framework,CoreServices,-
framework,ApplicationServices" 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 0x1b8c620>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/
transforms.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1b83eb8>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/
backend_agg.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1b8c238>> ignored
leopardguid:admin$

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************

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