[NBLUG/talk] GTK headers...?

Augie Schwer augie at schwer.us
Fri Aug 6 08:41:02 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A'fish'ionado said:
> I'm trying to compile Freeciv to use GTK. It compiles,
> but ./configure fails to detect the GTK headers, and
> compiles with Xaw, with is UGLY!
> I must have GTK installed, since The Gimp runs (Gimp
> was installed with the OS). So, I want to install the
> GTK header files. The big question is, how do I tell
> which version of GTK is installed, so I know which
> version of GTKMM to install? (I don't really feel like
> reinstalling GTK.)

Headers are usually in the devel packages. You can see what packages
you have with something like

rpm -qa | grep gtk

For me this turns up libgtk+1.2-devel-1.2.10-38mdk .If I poke inside that
package to see what it installed:

rpm -ql libgtk+1.2-devel-1.2.10-38mdk
/usr/bin/gtk-config
/usr/include/gtk-1.2
/usr/include/gtk-1.2/gdk
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-1.2/gdk/gdkcursors.h
/usr/include/gtk-1.2/gdk/gdki18n.h
/usr/include/gtk-1.2/gdk/gdkkeysyms.h
/usr/include/gtk-1.2/gdk/gdkprivate.h
/usr/include/gtk-1.2/gdk/gdkrgb.h
/usr/include/gtk-1.2/gdk/gdktypes.h
/usr/include/gtk-1.2/gdk/gdkx.h
/usr/include/gtk-1.2/gtk
/usr/include/gtk-1.2/gtk/gtk.h

I see among other things, header files. I am guessing that a similar
package exists for Suse.

augie.


- --
registered linux user #229905
gpg public key: http://www.schwer.us/schwer.asc
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBE6aDy5knhCewwHIRAippAKCgAHOf5GnG4JlyM9lBpEMcF0Z9DACgnnR8
giPNt/8yGB4Bo52/5KHCDz4=
=7MDA
-----END PGP SIGNATURE-----






More information about the talk mailing list