[solved] How to compile GIMP 2.8 on Debian?

Archived topics about LMDE 1
Forum rules
roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to compile GIMP 2.8 on Debian?

Postby roger64 » Sun May 06, 2012 3:07 am

@craigevil

I am going to try with siduction. It's a little unpleasant to look dumb. OK. Here I go:

You give a ftp site and also a giant list with many (6?, 8?) siduction repos.
I only know how to add a repo the classical way to my /etc/apt/sources.list.

So, this is my question:
Which one of them have I to include to get Gimp 2.8 for amd64?
Before or after this, I understand I will have to provide the above mentioned key.

Once it will be done, I will have to comment this new siduction repo on my sources.list since I am tracking testing.

User avatar
verahill
Level 1
Level 1
Posts: 8
Joined: Wed Feb 01, 2012 4:41 am
Location: Oz
Contact:

Re: How to compile GIMP 2.8 on Debian?

Postby verahill » Sun May 06, 2012 3:43 am

Roger64,
I'm sorry I couldn't help you. There's nothing for you to apologise over.

Having said that, the problem looks straightforward -- gimp can't find gegl. Assuming that you managed to compile gegl, this is very odd indeed, as gegl also ends up in /usr/local/lib

If all went well with compiling babl and gegl, and if your ld.so.conf is correct, the following two commands should work -- if not then something went wrong with the babl or gegl compile, or your ld.so.conf is incorrect or you haven't yet done ldconfig.

pkg-config babl --libs
-L/usr/local/lib -lbabl-0.1 -lm

pkg-config gegl-0.2 --libs
-Wl,--export-dynamic -pthread -L/usr/local/lib -lgegl-0.2 -lgmodule-2.0 -lrt -lgio-2.0 -lbabl-0.1 -lm -lgobject-2.0 -lglib-2.0

craigevil
Level 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole
Contact:

Re: How to compile GIMP 2.8 on Debian?

Postby craigevil » Sun May 06, 2012 4:42 am

roger64 wrote:@craigevil

I am going to try with siduction. It's a little unpleasant to look dumb. OK. Here I go:

You give a ftp site and also a giant list with many (6?, 8?) siduction repos.
I only know how to add a repo the classical way to my /etc/apt/sources.list.

So, this is my question:
Which one of them have I to include to get Gimp 2.8 for amd64?
Before or after this, I understand I will have to provide the above mentioned key.

Once it will be done, I will have to comment this new siduction repo on my sources.list since I am tracking testing.


actually not sure which one it is in I added them all:

Code: Select all

# Siduction repo
deb http://packages.siduction.org/siduction/ unstable main contrib non-free 
# deb-src http://packages.siduction.org/siduction/ unstable main contrib non-free
# siduction fixes
deb http://packages.siduction.org/fixes/ unstable main contrib non-free 
# deb-src http://packages.siduction.org/fixes/ unstable main contrib non-free
# siduction community
deb http://packages.siduction.org/community/ unstable main contrib non-free 
# deb-src http://packages.siduction.org/community/ unstable main contrib non-free
# siduction user
deb http://packages.siduction.org/user/ unstable main contrib non-free 
# deb-src http://packages.siduction.org/user/ unstable main contrib non-free
# siduction experimental
deb http://packages.siduction.org/experimental/ unstable main contrib non-free 
# deb-src http://packages.siduction.org/experimental/ unstable main contrib non-free


add the repos to /etc/apt/sources.list
apt-get update && apt-get install siduction-archive-keyring gimp
comment out the repos afterward

Might want to browse the repos using Synaptic, a few interesting things in them.



opened Synaptic and install gimp, also installed razorqt and qupzilla wasnt inpressed and removed them but kept gimp.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to compile GIMP 2.8 on Debian?

Postby roger64 » Sun May 06, 2012 5:51 am

Hi

I'll bump on all the molehills. I installed all the siduction repos, then the key. But for Gimp:

Code: Select all

 sudo apt-get install gimp
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
 gimp : Dépend: libgegl-0.2-0 (>= 0.2.0-0.siduction.2) mais ne sera pas installé
        Dépend: libgimp2.0 (>= 2.8.0-0.siduction.1) mais 2.6.12-1+b1 devra être installé
        Dépend: libfontconfig1 (>= 2.9.0) mais 2.8.0-2.1ubuntu3 devra être installé
        Dépend: libglib2.0-0 (>= 2.31.8) mais 2.30.2-6 devra être installé
E: Paquets défectue

zerozero
Level 16
Level 16
Posts: 6507
Joined: Tue Jul 07, 2009 2:29 pm

Re: How to compile GIMP 2.8 on Debian?

Postby zerozero » Sun May 06, 2012 9:05 am

ok, cracked it also in the wheezy box :D as verahill suspected all the problem was missing libs.

just for the record this was the log i was getting last night compiling gegl (which was failing and was making gimp fail as well) http://pastebin.com/jBsy6qmH

but today (with a fresh head and verahill's pointers about the required lib i made it)
- required packages (here, of course it will vary)
  • valac-0.16
  • gobject-introspection
  • libgtk2.0-dev (which brings libcairo2-dev (1.10.2-7) and here might be a problem for regular lmde installs because libcairo2-dev (1.10.2-2ubuntu2) has higher priority but doesn't work for this
  • python2.7-dev

that got me thought gegl, but gimp failed with this error http://pastebin.com/paH5AfKZ so i had to install libtiff-tools, libtiff-opengl and libtiff5-dev (eventually i wouldn't need all of them, -dev should be enough, but...)

after that make and make install were clean and
Image

bellow is the history.log (once again remember that this is a fairly vanilla install, so a lot of those pkgs should be installed)
history.log
Image

[ bliss of ignorance ]

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to compile GIMP 2.8 on Debian?

Postby roger64 » Sun May 06, 2012 12:46 pm

I silently resumed my compilation tries... It's raining outside.

I followed exactly the newly modified verahill checklist.
The first two steps (BABL and GEGL) are now OK. Gimp speaks about a configuration problem: GTK+

Code: Select all

.../...
checking for BABL... yes
checking for GEGL... yes
checking for ATK... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.30.2... yes (version 2.30.2)
checking for GMODULE_NO_EXPORT... yes
checking for GIO... yes
checking if GLib is version 2.31.0 or newer... no
checking for bind_textdomain_codeset... (cached) yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
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.


zerozero
Level 16
Level 16
Posts: 6507
Joined: Tue Jul 07, 2009 2:29 pm

Re: How to compile GIMP 2.8 on Debian?

Postby zerozero » Sun May 06, 2012 12:51 pm

roger, try

Code: Select all

apt install libgtk2.0-dev
Image

[ bliss of ignorance ]

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: How to compile GIMP 2.8 on Debian?

Postby roger64 » Sun May 06, 2012 4:13 pm

Yesss! :D

Thanks to verahill, zerozero, craigevil for this -at long last- successful compilation on LMDE64. Everything now seems to be working fine.
I followed most exactly the verahill method as published on his blog here:
http://verahill.blogspot.com.au/2012/05 ... ebian.html

During gimp configuration, I had to install, on zerozero advice, libgtk2.0-dev
I also had to add some libtiff related libraries.
My last command had to be "sudo make install" and not "make install".

Image
Now I've just to learn how to use it... :mrgreen:

Note: I did not understand this tiny bit related to .bashrc: "and source it. (source ~/.bashrc)" ??
BTW, you'll find .bashrc in /etc/bash.bashrc

For me this is solved.

N.-B. : A heavy program. The three main parts are: Gimp28 : 333 megs, Gegl: 221 megs and Babl: 27 megs. The compilation requires also the install of a lot of libraries. All in all, I think the gimp 2.8 compilation will probably add 700 to 800 megs to your system.
Last edited by roger64 on Mon May 07, 2012 12:48 am, edited 3 times in total.

edkirin
Level 1
Level 1
Posts: 10
Joined: Tue Dec 28, 2010 3:48 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby edkirin » Sun May 06, 2012 9:00 pm

I have the same problem as roger64, but I can't solve it:

Code: Select all

eden@sunce:/tmp/gimp/gimp-2.8.0> ./configure --prefix=/home/me/.gimp --disable-python
.. snip..
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
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.
eden@sunce:/tmp/gimp/gimp-2.8.0> sudo apt install libgtk2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgtk2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
eden@sunce:/tmp/gimp/gimp-2.8.0> dpkg -l libgtk[0-9]* | grep ^i
ii  libgtk2-perl                           2:1.223-1build2                         Perl interface to the 2.x series of the Gimp Toolkit library
ii  libgtk2.0-0                            2.24.6-0ubuntu5linuxmint1               The GTK+ graphical user interface library
ii  libgtk2.0-bin                          2.24.6-0ubuntu5linuxmint1               The programs for the GTK+ graphical user interface library
ii  libgtk2.0-cil                          2.12.10-2ubuntu1                        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-common                       2.24.6-0ubuntu5linuxmint1               Common files for the GTK+ graphical user interface library
ii  libgtk2.0-dev                          2.24.6-0ubuntu5linuxmint1               Development files for the GTK+ library


Please, advise what to do.

Thank you.

zerozero
Level 16
Level 16
Posts: 6507
Joined: Tue Jul 07, 2009 2:29 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby zerozero » Sun May 06, 2012 9:08 pm

edkirin, the instructions in this topic are for lmde (linux mint debian edition), you are running eventually mint12-lisa (i hope) or worst case scenario mint11-katya.

this method is not supported in those editions.
if you are running mint12 see this viewtopic.php?f=47&t=101502&p=576385&hilit=gimp#p576385
Image

[ bliss of ignorance ]

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby roger64 » Mon May 07, 2012 3:44 am

Hi

Launching it
Now, as advised, I launch Gimp 2.8 using the terminal and typing:

Code: Select all

gimp28


I can also use a classical launcher with this command

Code: Select all

 ~/gimp-2.8.0/app/gimp-2.8


YMMV

edkirin
Level 1
Level 1
Posts: 10
Joined: Tue Dec 28, 2010 3:48 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby edkirin » Mon May 07, 2012 4:23 am

zerozero wrote:edkirin, the instructions in this topic are for lmde (linux mint debian edition), you are running eventually mint12-lisa (i hope) or worst case scenario mint11-katya.

this method is not supported in those editions.
if you are running mint12 see this viewtopic.php?f=47&t=101502&p=576385&hilit=gimp#p576385


Silly me. I assumed that this guide applies to Lisa too. Thanks.

ugh
Level 1
Level 1
Posts: 30
Joined: Wed Sep 22, 2010 4:20 pm

Re: How to compile GIMP 2.8 on Debian?

Postby ugh » Mon May 07, 2012 2:41 pm

craigevil wrote:
roger64 wrote:@craigevil

I am going to try with siduction. It's a little unpleasant to look dumb. OK. Here I go:

You give a ftp site and also a giant list with many (6?, 8?) siduction repos.
I only know how to add a repo the classical way to my /etc/apt/sources.list.

So, this is my question:
Which one of them have I to include to get Gimp 2.8 for amd64?
Before or after this, I understand I will have to provide the above mentioned key.

Once it will be done, I will have to comment this new siduction repo on my sources.list since I am tracking testing.


actually not sure which one it is in I added them all:


It's in the experimental repo:
deb http://packages.siduction.org/experimental-snapshots experimental main

Thanks BTW craigevil for maintaining that list. It's priceless.
OS: Linux Mint / Debian Sid
Kernel: 3.2.0-2-amd64
Desktop: Cinnamon

roger64
Level 4
Level 4
Posts: 274
Joined: Wed Jun 01, 2011 5:48 am

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby roger64 » Tue May 08, 2012 10:01 am

Hi,

You'll find on this link an easy to read and working sheet for a successful compilation of Gimp 2.8 on LMDE.
http://www.linuxmint-fr.org/forum/lmde/ ... t=20#93655

It's based on Verahill's method.

craigevil
Level 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole
Contact:

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby craigevil » Wed May 09, 2012 1:43 pm

Removed the siduction packages and actually did the whole, configure, make, make install.

Probably the first package in 8 yrs of running Debian I have compiled.

$ which gimp
/usr/local/bin/gimp

Image


Edit: BTW Gimp 2.8 is in Debian experimental, so looks like my earlier prediction was wrong, it should be in sid within a week or two. It does install from exp without any issues. After I spent two hours installing -dev packages and compiling the darn thing. :twisted:

$ apt-cache policy gimp
gimp:
Installed: 2.8.0-1
Candidate: 2.8.0-1
Version table:
*** 2.8.0-1 0
1 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
2.6.12-1+b2 0
500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

zerozero
Level 16
Level 16
Posts: 6507
Joined: Tue Jul 07, 2009 2:29 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby zerozero » Wed May 09, 2012 2:16 pm

craigevil wrote:Probably the first package in 8 yrs of running Debian I have compiled.

:D way to go :wink:
Image

[ bliss of ignorance ]

gozer
Level 1
Level 1
Posts: 37
Joined: Mon Nov 26, 2007 1:57 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby gozer » Fri May 11, 2012 5:07 pm

I got all excited for an easy install from experimental, but then....

Code: Select all

> sudo apt-get install gimp/experimental
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '2.8.0-1' (Debian:experimental [amd64]) for 'gimp'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gimp : Depends: libgimp2.0 (>= 2.8.0) but 2.6.12-1+b2 is to be installed
        Depends: gimp-data (>= 2.8.0) but 2.6.12-1 is to be installed
        Depends: libgegl-0.2-0 (>= 0.2.0) but it is not installable
E: Broken packages


looks like libgegl is still the main issue.

UPDATE: Successfully used the siduction/experimental repo and am now running gimp 2.8:

Code: Select all

deb http://packages.siduction.org/experimental/ unstable main contrib non-free
Debian Testing
g+

anmys
Level 1
Level 1
Posts: 47
Joined: Sat Feb 05, 2011 8:30 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby anmys » Fri May 11, 2012 9:28 pm

gozer wrote:...
Depends: libgegl-0.2-0 (>= 0.2.0) but it is not installable
E: Broken packages

looks like libgegl is still the main issue.


I have installed gimp from debian experimental and it works fine. Before installing gimp from experimental, jut install libgegl-0.2-0 and libbabl-0.1-0 from unstable.

Code: Select all

apt-get -t unstable install libgegl-0.2-0 libbabl-0.1-0


After that you can do

Code: Select all

apt-get -t experimental install gimp


This command pulls in all the dependencies from the experimental branch. The command that you have used pulls in just gimp and not the dependencies like gimp-data, libgimp2.0.

Regards.

gozer
Level 1
Level 1
Posts: 37
Joined: Mon Nov 26, 2007 1:57 pm

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby gozer » Sat May 12, 2012 12:16 pm

Tried on a different machine running unstable and the above works. Strange that when I looked up libgegl it never showed that version 0.2 was available, but running the command installed it. *shrug*
Debian Testing
g+

craigevil
Level 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole
Contact:

Re: [solved] How to compile GIMP 2.8 on Debian?

Postby craigevil » Sun May 13, 2012 12:26 pm

Gimp has made its way into Debian sid, my guess is it should be in Testing in a week or two.

$ apt-cache policy gimp
gimp:
Installed: 2.8.0-1
Candidate: 2.8.0-2
Version table:
2.8.0-2 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages
*** 2.8.0-1 0
1 http://mirrors.kernel.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 1 guest