On Tuesday 01 September 2009, Pim Schellart wrote:
> after I encountered some problems embedding matplotlib in a Tkinter
> application I decided to update my matplotlib installation.
> I downloaded and installed Python 2.6.2 and the latest svn
> checkouts of numpy and scipy.
> Then I tried to install (the latest svn checkout of) matplotlib
> using python setup.py install.
> I get the following errors related to freetype2.
> I first tried reinstalling freetype2 (latest version from source
> which is now installed in /usr/local) but this did not solve the
> problem. Does anyone know what might be wrong here?
>
> gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
> -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API
> -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
>ite-packages/numpy/core/include -I.
> -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
>ite-packages/numpy/core/include/freetype2 -I./freetype2
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2
>.6 -c src/ft2font.cpp -o
> build/temp.macosx-10.3-fat-2.6/src/ft2font.o In file included from
> src/ft2font.cpp:1In file included from src/ft2font.cpp:1:
> src/ft2font.h:13:22: error: ft2build.h: No such file or directory

Have you installed the development headers (i.e. libfreetype2-devel)?
Johann


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to