Re: Problem porting gtk from gnome1 to gnome2 - pygtk-2.0?
- From: John McKerrell <john mckerrell net>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Problem porting gtk from gnome1 to gnome2 - pygtk-2.0?
- Date: 07 Mar 2003 02:56:59 +0000
Hi,
Your pkg-config line isn't quite right, you need to specify the
package _after_ the --cflags switch. Here's an example of one of mine:
pkg-config --cflags gtk+-2.0 --libs gtk+-2.0 --cflags libxml
--libs
libxml
Hope this helps,
John
On Thu, 2003-03-06 at 18:31, Thomas Frayne wrote:
> Package gtk2 is on my Redhat 8.0 system, but pkg-config does not find
> it. Is there a .pc.in file somewhere? Do I need to upgrade gtk2 or
> pkg-config? Is pygtk-2.0 the package I need in the pkg-config call?
>
> I am working on porting gnucash from gnome1 to gnome2, and have not been
> able to determine the mapping from then gnome1 gtk package names to the
> gnome2 names.
>
> Below are the results of some related searches.
>
> [Tom localhost Tom]$ rpm -qa | grep gtk2
> pygtk2-1.99.12-7
> gtk2-devel-2.0.6-8
> gtk2-2.0.6-8
> gtk2-engines-1.9.0-4
> pygtk2-libglade-1.99.12-7
> pygtk2-devel-1.99.12-7
> [Tom localhost Tom]$ pkg-config gtk+ -cflags
> -cflags: unknown option
> [Tom localhost Tom]$ pkg-config gtk+ --cflags
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include[Tom localhost Tom]$
>
> [Tom localhost Tom]$ pkg-config gtk2 --cflags
> Package gtk2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk2.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk2' found
>
> [Tom localhost Tom]$ grep gtk -i /home/Tom/pkg-config-list-all.txt
> gconfgtk gconfgtk - GTK+ bindings for GConf
> pygtk-2.0 PyGTK - Python bindings for GTK+ and related
> libraries[Tom localhost Tom]$
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]