mkdir ~/gimp-2.9 export PREFIX=`echo ~/gimp-2.9` export PATH=$PREFIX/bin:$PATH export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
Last edited by damo (2015-03-28 17:29:07)
You did this on wheezy?
I get this from gegl;
*** GLIB 2.36.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/.
#!/bin/bash ## ## Set up pre-build environment for GIMP-2.9 (set up env variables, install dependencies) # # Needs ~/gimp-2.9 to be present # set up environment variables export PREFIX=`echo ~/gimp-2.9` export PATH=$PREFIX/bin:$PATH export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
Rather than keep two versions in different places, you might want to create a deb package from your build to keep things tidy. Or at least a pseudo-package using something like checkinstall. I don't know if the Gimp makefiles provide a package build option.
I just made a big mistake ... downloaded the sources for 2.8.10 and just compiled it.
Now i can't run the old original one which came with CB defaultwise anymore. This is the error message:
Libgimp version mismatch! The GIMP binary cannot run with a libgimp version other than its own. This is GIMP 2.8.10, but the libgimp version is 2.8.2. Maybe you have GIMP versions in both /usr and /usr/local ?
I can only run the new one by launching a gimp-2.8 shell script which i found in the subdirectory "app" of "gimp-2.8.10" directory where i built this thing which is a pity because i can't print (Gutenprint & Turboprint) or scan (Canon 8.800F) in 2.8.10 anymore.
Any ideas how to fix this? Any help is highly appreciated.
I prefer to remove the 2.8.10 and just continue using the stock wheezy version again.
Last edited by tonyoptical (2014-02-26 18:19:35)
If you want to run different versions of GIMP you need to install them to different places, as described for 2.9
Have you tried purging GIMP and reinstalling?
Yes - i tried that already. Complete removal in synaptic - no success. 2.8.10 is still coming up.
In a desparate attempt i tried to delete all instances of gimp files i could find. No success - faulty gimp w/o menu's is still coming up.
New install of gimp via synaptic - no success - still everything messed up. I am starting to think why this gimp thing is so deeply rooted in the system that you can't make it go away or re-install it ... I don't want a fresh install of Waldorf just because i broke Gimp by my own stupidity.
Last edited by tonyoptical (2014-02-27 13:47:04)
I think you will need help from someone who knows their way around compiling/installing better than me. The package manager won't know about your compiled application, so it has just removed gimp 2.8.2, and left the broken gimp 2.8.10.
GIMP isn't "deeply embedded", because it is easily removed with synaptic/apt-get - it is the files that you have installed which are causing the problem.
Can you install the required version of libgimp?
(What does 2.8.10 have that makes 2.8.2 undesirable? I use the repo gimp for stability, and 2.9 for the new features, although it is definitely NOT stable)
Thx. for your message. Actually i was perfectly happy with my stock gimp installed.
I could scan, i could print unsing turboprint, i could use my drawing tablet ... i could manipulate my digital images ... i did not miss anything.
As a matter of fact my father (73 yrs) dropped me a message that the new gimp creates better quality outputs because of it's capability to use a higher bit-depth. It was my fault that i did not question this and just downloaded and compiled the sources ...
GIMP 2.8.x is still only 8-bit - it is the development version which has higher depth support. It is available with 2.9, and hopefully the next stable release (2.10) will be in the near future. The image menu has a new "Precision" entry in which you choose what you want.
Thanks for the intructions, damo, those were very helpful. I compiled it on Ubuntu 13.10 but had to install some extra packages though:
libgexiv2-dev libbz2-dev liblcms2-dev
I've been working on making a couple of scripts - gimp-build and gimp-update - which do the whole thing. It's working fine using the jessie repos, but I'm having trouble with stable (GLIB version issues). I knew about the libgexiv2, but I'll have another look at the others you mentioned.
I think Ubuntu 14 has a ppa for GIMP 2.9