Author Topic: Which GTK+ should it be?  (Read 516 times)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Which GTK+ should it be?
« on: May 06, 2012, 12:20:10 PM »
I just now had a look at GIMP 2.8 requirements and one of it (mentioned on the INSTALL notes) was:

Code: [Select]
 4. You need to have installed GTK+ version 2.24.10 or newer.
     GIMP also need a recent versions of GLib (>= 2.30.2), GDK-Pixbuf
     (>= 2.24.1), and Pango (>= 1.29.4). Sources for these can be grabbed
     from ftp://ftp.gtk.org/.
Well, I head on to ftp://ftp.gimp.org/pub/gtk/ and tried 2.24/ but there is no version 2.24.10. Another strange thing is their latest version is 2.24.5 while

Code: [Select]
$ rpm -qa | grep gtk+
got me these:
Code: [Select]
gtk+2.0-2.24.7-2pclos2011
gtk+3.0-3.2.3-1pclos2012

On the same INSTALL note:

Code: [Select]
Please make sure you don't have any old GTK+-2.x, jpeg, etc. libraries
lying around on your system, otherwise configure may fail to find the
new ones.

However, that in consequential ... I did manage to build 2.7.4 before so I guess I just have to try it all out.

Updated gegl and babl are gonna be needed ... so if anyone knows of any packages that are critical to the updates, speak now or forever hold your tongue.  ;)

Peace and much respect,
Archie

P.S. Is anyone packaging GIMP 2.8 yet? We don't want double efforts and waste of time now, do we?

same peace and respect. :D
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Which GTK+ should it be?
« Reply #1 on: May 06, 2012, 08:09:30 PM »
Unbelievable! After spending what seemed like over an hour sorting out the BuildRequires, and finally getting the sorted out, running a build on GIMP-2.8.0 gave me this:

Code: [Select]
checking for GTK+ - version >= 2.24.10... no
*** Could not run GTK+ 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 GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
error: Bad exit status from /home/archie/Temporary/src/tmp/rpm-tmp.yvPNeO (%build)

I cannot find gtk+-2.24.10 on ftp://ftp.gimp.org/pub/gtk/2.24/

There are, however, folders for 2.90, 2.91 and 2.99 but I already have gtk+3.0-3.2.3-1pclos2012 installed. And packaging one of those 2.90s is probably not a good idea ... or is it?

So question ... would ./configure be able to use that? If so, how to I point ./configure to it?

Thank you for any help.

Peace and much respect,
Archie



« Last Edit: May 06, 2012, 08:12:21 PM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3799
Re: Which GTK+ should it be?
« Reply #2 on: May 06, 2012, 09:31:34 PM »