On Mon, Nov 10, 2008 at 6:00 AM, Marcus Vinicius Eiffle Duarte
<[EMAIL PROTECTED]> wrote:

> So, all the libraries and headers are installed in the default
> folders. However, when I try to  build matplotlib I get the following
> error:
> In file included from src/backend_gdk.c:9:
> /usr/include/pygtk/pygtk.h:6:23: error: pygobject.h: No such file or directory
> /usr/include/pygtk/pygtk.h:8:21: error: gtk/gtk.h: No such file or directory
> In file included from src/backend_gdk.c:9:

The error indicates the mpl build process is not finding your pygtk or
gtk headers.  Typically, you need to set your PKG_CONFIG_PATH to the
directory where the *.pc config files are, and these will tell mpl how
to include the headers and link to the libs.  So you should also have
pkg-config installed.  There are some additional details here:
http://ipython.scipy.org/moin/Py4Science/InstallationOSX -- scroll
down to the "matplotlib" section.

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to