LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GLIB and GTK (https://www.linuxquestions.org/questions/linux-newbie-8/glib-and-gtk-282891/)

deucedlt 01-27-2005 10:44 AM

GLIB and GTK
 
i have a rh9 2.4.20-8 kept up-to-date by yum thru Fedora Legacy project., with only a few
non-standard add-ons (alsa sound, winmodem driver, java runtime, jinchess) recently
was trying to install a downloaded game (gnu backgammon) and got error msg:

checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ version 2 or newer... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
fall back
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
*** You must have installed Glib1 or Glib2 in order to
compile GNU Backgammon

using (rpm -qa |grep -i <...>) i found found packages gtk+-1.2.10-25, glib-1.2.10-10,
glib2-2.2.1-1

my question is: what are GTK+, GLIB, and Glib1 and Glib2 in relation to what i already
have and do i have to install them? thanks for input:

reddazz 01-27-2005 11:43 AM

You probably need their development packages., which I think are glib2-devel and gtk-devel, in your case also, you need version 1.2x coz there is also gtk2 & glib2 which are incompatible with their 1.x versions.


All times are GMT -5. The time now is 03:59 PM.