Problems building matplotlib on OSX Leopard

In case anyone else runs into this issue, let me offer a few suggestions.

First, and most importantly, make sure that you are using python from the
directory /System/Library/Python.frameworks and not a third-party python from
/Library/Python.frameworks. This was the key issue that for me fixed the
problem described in previous post with ppc architecture.

Second, you may have problems with which gcc you are using especially if you
have inadvertently installed another gcc when gfortran was installed. It is
best to install gfortran from

  http://r.research.att.com/tools/

Hope that helps.

Travis