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. > > [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] Tom]$ pkg-config gtk+ -cflags > -cflags: unknown option > [EMAIL PROTECTED] 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/[EMAIL PROTECTED] Tom]$ > > [EMAIL PROTECTED] 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 > > [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] Tom]$ > > _______________________________________________ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list