[solved] How to compile GIMP 2.8 on Debian?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Re: How to compile GIMP 2.8 on Debian?
@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.
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.
Re: How to compile GIMP 2.8 on Debian?
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
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
Re: How to compile GIMP 2.8 on Debian?
actually not sure which one it is in I added them all: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.
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
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.
Re: How to compile GIMP 2.8 on Debian?
Hi
I'll bump on all the molehills. I installed all the siduction repos, then the key. But for Gimp:
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
Re: How to compile GIMP 2.8 on Debian?
ok, cracked it also in the wheezy box 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)
after that make and make install were clean and
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
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
after that make and make install were clean and
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
Re: How to compile GIMP 2.8 on Debian?
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+
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.
Re: How to compile GIMP 2.8 on Debian?
roger, try
Code: Select all
apt install libgtk2.0-dev
Re: How to compile GIMP 2.8 on Debian?
Yesss!
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".
Now I've just to learn how to use it...
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.
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".
Now I've just to learn how to use it...
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.
Re: [solved] How to compile GIMP 2.8 on Debian?
I have the same problem as roger64, but I can't solve it:
Please, advise what to do.
Thank you.
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
Thank you.
Re: [solved] How to compile GIMP 2.8 on Debian?
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 http://forums.linuxmint.com/viewtopic.p ... mp#p576385
this method is not supported in those editions.
if you are running mint12 see this http://forums.linuxmint.com/viewtopic.p ... mp#p576385
Re: [solved] How to compile GIMP 2.8 on Debian?
Hi
Launching it
Now, as advised, I launch Gimp 2.8 using the terminal and typing:
I can also use a classical launcher with this command
YMMV
Launching it
Now, as advised, I launch Gimp 2.8 using the terminal and typing:
Code: Select all
gimp28
Code: Select all
~/gimp-2.8.0/app/gimp-2.8
Re: [solved] How to compile GIMP 2.8 on Debian?
Silly me. I assumed that this guide applies to Lisa too. Thanks.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 http://forums.linuxmint.com/viewtopic.p ... mp#p576385
Re: How to compile GIMP 2.8 on Debian?
It's in the experimental repo:craigevil wrote:actually not sure which one it is in I added them all: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.
deb http://packages.siduction.org/experimental-snapshots experimental main
Thanks BTW craigevil for maintaining that list. It's priceless.
Re: [solved] How to compile GIMP 2.8 on Debian?
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.
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.
Re: [solved] How to compile GIMP 2.8 on Debian?
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
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.
$ 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
Probably the first package in 8 yrs of running Debian I have compiled.
$ which gimp
/usr/local/bin/gimp
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.
$ 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
Re: [solved] How to compile GIMP 2.8 on Debian?
way to gocraigevil wrote: Probably the first package in 8 yrs of running Debian I have compiled.
Re: [solved] How to compile GIMP 2.8 on Debian?
I got all excited for an easy install from experimental, but then....
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
> 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
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+
g+
Re: [solved] How to compile GIMP 2.8 on Debian?
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.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.
Code: Select all
apt-get -t unstable install libgegl-0.2-0 libbabl-0.1-0
Code: Select all
apt-get -t experimental install gimp
Regards.
Re: [solved] How to compile GIMP 2.8 on Debian?
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+
g+
Re: [solved] How to compile GIMP 2.8 on Debian?
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
$ 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