On Thu, Aug 6, 2009 at 9:28 PM, sasha<massimodisa...@yahoo.it> wrote:
>
> Hi All,
>
> i'm tring to install matplotlib (svn) on a fesh mac osc installation
> using the system python 2.5.1.
>
> but i have problems with freetype :-/

No, you have troubles with libpng -- check the first instance of
"error" in your gcc output:

  src/backend_agg.cpp:3:17: error: png.h: No such file or directory

Either you do not have libpng installed, or it is in a place where the
build cannot find it.  Try installing it in a place where the build
can find it.  Take a look at release/osx/Makefile to see the configure
flags and environment variables we set when building png for the OSX
installer.  In particular, we use

  CFLAGS="-Os -arch ppc -arch i386"
  LDFLAGS="-arch ppc -arch i386"
  MACOSX_DEPLOYMENT_TARGET=10.4
  ./configure  --disable-dependency-tracking

JDH

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