Browse files

added a clue to get around a build error for matplotlib + freetype

  • Loading branch information...
1 parent 67b6201 commit 701de3f689b40475ce27a0e30dae6c83c01e6d7a Roger Unwin committed Sep 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README
@@ -87,6 +87,10 @@ Use Buildout to install the python package dependencies (including pyon itself)
> python
> bin/buildout
+** If matplot lib fails to build due to not finding the free type headers, try:
+ if /usr/X11/lib/pkgconfig has a file named freetype2.pc, then add the following line to your .bash_profile
+ export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig
** Mac should have libpng and libfreetype headers, which are required
for matplotlib python build. If for some reason your buildout fails on
matplotlib due to missing libpng libraries, try install from here:

0 comments on commit 701de3f

Please sign in to comment.