Re: Cannot compile matplotlib on FC8: error: pygtk/pygtk.h: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 15 Jun 2008 16:01:06 +0200, M. Fioretti wrote:

> Greetings,
> 
> I'm trying to build and install matplotlib on Fedora 8, x86_64.
> Compilation files as below, even if I have installed all the -devel
> packages I could think of (namely pygtk2-devel. gtk2-devel...) and
> explicitly set PKG_CONFIG_PATH to /usr/lib/pkgconfig .

For x86_64 the default /usr/lib64/pkgconfig is correct. Why do you point
pkg-config to the 32-bit templates?

> What else am I
> missing? What else must I do to make the build script see pygtk.h,
> which is at:

>                   Gtk+: gtk+: 2.12.5, glib: 2.14.6, pygtk: 2.12.0,
>                         pygobject: 2.14.0
>                         * Could not find Gtk+ headers in any of
>                         * '/usr/local/include', '/usr/include', '.'

This could be because pkg-config inter-dependencies don't resolve
since you modified PKG_CONFIG_PATH. The include paths can only be
found if the dependency chain is complete.

$ pkg-config --cflags gtk+-2.0 pygtk-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0  

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux