I've had several problems with building on OS X in the past, and was just 
notified that a bug I opened about it has closed.  Eric Firing suggested that I 
re-open the bug if it is still a problem.  It is still a problem, but I can't 
seem to figure out how to re-open my bug report, so I'll report it again here 
with an update on the procedures I followed.

First, I downloaded a fresh copy of matplotlib source:

svn co 
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib 
matplotlib

Then, following the instructions I found in README.osx:
PREFIX=/Users/mhearne/build make -f make.osx fetch deps mpl_install

I then moved my current matplotlib (one from Enthought) aside:
cd 
/Library/Frameworks/EPD64.framework/Versions/Current/lib/python2.6/site-packages
sudo mv matplotlib matplotlib.old

I then used setup.py to install matplotlib:
sudo /Library/Frameworks/EPD64.framework/Versions/Current/bin/python setup.py 
install

Then I tried to import ft2font from the ipython command line:
from matplotlib import ft2font

and got the following error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/mhearne/build/matplotlib/<ipython console> in <module>()

ImportError: 
dlopen(/Library/Frameworks/EPD64.framework/Versions/6.0.0/lib/python2.6/site-packages/matplotlib/ft2font.so,
 2): Symbol not found: _FT_Attach_File
  Referenced from: 
/Library/Frameworks/EPD64.framework/Versions/6.0.0/lib/python2.6/site-packages/matplotlib/ft2font.so
  Expected in: flat namespace
 in 
/Library/Frameworks/EPD64.framework/Versions/6.0.0/lib/python2.6/site-packages/matplotlib/ft2font.so
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to