Re: Problem with installing GTK+-2.0.0 on Fedora Core 6



One of GTK+ dependency is GLib, each GTK+ version has it's GLib version dependency too, if you try to compile 
a newer GTK+ version in a system that has not meet it's minimal requirement of GLib version then they will 
complain.

You tried to update GLib on your distro using a package manager, you will got nothing to do because your 
distro will not broke all dependency that it already made. Moving from 2.4.0 to 2.12.3 is not trivial, this 
will break many applications that already installed, so they must have to update all applications to meet the 
new dependency. Distributor tend to release a new distro version rather than rebuild and update applications 
in the their current version.

g_timer_add()? i don't know if this was a obsolete function, but i think there are a lot way to write codes 
such this function does. I can't see a reason why you should move to a version of GTK+ because of this 
function!

--- ajhwb


--- adeelmalik78 yahoo com wrote:

From: Adeel Malik <adeelmalik78 yahoo com>
To: gtk-app-devel-list gnome org
Subject: Problem with installing GTK+-2.0.0 on Fedora Core 6
Date: Fri, 8 May 2009 21:13:24 -0700 (PDT)


Hi All,
ÂÂÂÂÂÂÂ I am doing application development on Fedora Core 6 Linux machine which had GTK version 1.2.1 already 
installed. I needed to use g_timer_add gnomeÂfunction in my gtk application which doesn't seem to be 
supported on this version. So i tried to install the newer version of GTK+-2.0.0 from the gtk.org web page.
Once I copied tar.gz file and tried to install the app. by running the './configure' script, the 
insatallation process stopped at the following error messages:
---------------------------------------------------------------------------------------------------------------------------------
checking for GLIB - version >= 2.0.0... 
*** 'pkg-config --modversion glib-2.0' returned 2.12.3, but GLIB (2.4.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
---------------------------------------------------------------------------------------------------------------------------------

ÂI treid to update the glib library by running:

'yum update glib' or 'yum install glib' but it appeared that kernel couldn't find the match and issued the 
following messages:
---------------------------------------------------------------------------------------------------------------------------------
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00 
updates 100% |=========================| 951 B 00:00 
extras 100% |=========================| 951 B 00:00 
Reading repository metadata in from local files
Could not find update match for glib
No Packages marked for Update/Obsoletion
---------------------------------------------------------------------------------------------------------------------------------
I was wondering whether the problem is with the 'yum' package as it is unable to find the requestedÂGlib 
library. Since the whole point of installing the new version of GTK was to be able to use the 'g_timer_add'Â 
function, can some one suggest if it is possible to use this function with the GTK 1.2.1 version. If not, can 
someone point out how can I fix the installation error if GTK+-2.0.0.
Â
Thanks,
Adeel
Â


      
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com


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