gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gimp-user | today 09:49 AM
    Need help: "correcting" exposures in time-lapse imagesets
  2. gimp-developer | today 06:14 AM
    GIMP color-management spec and further discussion
  3. gimp-user | yesterday 11:13 PM
    collages in gimp?
  4. gimp-developer | yesterday 07:07 PM
    Color management (UI perspective for GIMP 2.8)
  5. gimp-user | yesterday 02:42 PM
    printing

External news

Poll

Would you like to be able to use your Google/Yahoo/MSN (OpenID) login on gimpusers, too?

Definately! I would enjoy the possibility to use my OpenID on different websites!

I don't have a special need for OpenID but I think it could be useful

Doesn't matter to me

Never, OpenID is a pain regarding privacy and personal data protection!

No. (please post a comment)

See results

Stats

gimpusers.com RSS feed

RSS feed Retweet this!

23 Apr 2009 12:02 AM, by redforce (Richard H.)

Compile latest GIMP source (developer version) for Ubuntu 9.04

Here you can see how to fetch the current GIMP source code from the Git server and compile it for Ubuntu 9.04:

1. The new files for GIMP 2.7 shall go to /opt/gimp-2.7 so they don't disturb the GIMP version installed by the system (GIMP 2.6.6 in case of Ubuntu 9.04). Both versions shall be usable at the same time. So you need to set these environment variables on the command line (and later use the -prefix parameter):

export PATH=$PATH:/opt/gimp-2.7/bin
export PKG_CONFIG_PATH=/opt/gimp-2.7/lib/pkgconfig


Now switch to a temporary directory and fetch BABL, GEGL and GIMP from the Git server:

mkdir ~/tmp # if not existing yet
cd ~/tmp
git clone git://git.gnome.org/babl
git clone git://git.gnome.org/gegl
git clone git://git.gnome.org/gimp


Some libraries and its development packages (including headers, API definitions etc.) are needed in order to compile BABL, GEGL and GIMP. You can install the most important packages using this command:

sudo apt-get build-dep gimp

This command installs all libraries and packages that are needed to compile the GIMP version shipped with Ubuntu (= GIMP 2.6). Because the dependencies of GIMP 2.6 and 2.7 are mostly identical, the most important libraries are installed now. However, you have to install these additional packages:

sudo aptitude install libtool ruby

Then you can compile and install BABL, GEGL and GIMP:

cd babl
./autogen.sh --prefix=/opt/gimp-2.7
nice make -j3
# 3 instances, suggestion: number of CPUs+1
sudo make install

cd ../gegl
./autogen.sh --prefix=/opt/gimp-2.7
nice make -j3
sudo make install

cd ../gimp
./autogen.sh --prefix=/opt/gimp-2.7
nice make -j3
sudo make install


Now GIMP 2.7 should be installed. You can launch it with /opt/gimp-2.7/bin/gimp - have fun!

This article is licensed under the following license: Attribution-Noncommercial 3.0 Austria

Links (pingbacks)

Comments

Post your own comments, questions or hints here. The author and other users will see your posting and can reply to it. Of course, you can also ask in the chat.

Comments are chronologically arranged.

  1. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Thu 23 Apr 2009 09:19:15 PM CEST thanks, 23 Apr 2009 09:19 PM

    thank you for keeping us up-to-date with the changes in the gip compilation process!

  2. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Fri 24 Apr 2009 04:16:56 PM CEST git question, 24 Apr 2009 04:16 PM

    why is the source of the master branch so big? doesn't have gimp around 20 mb?

  3. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Sat 25 Apr 2009 09:27:56 PM CEST redforce, 25 Apr 2009 09:27 PM

    Maybe you don't need all the history revisions but only the current soure code. Then you can do

    git clone --depth 1 git://git.gnome.org/gimp

    which should be smaller.

  4. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Tue 28 Apr 2009 01:45:38 PM CEST redforce, 28 Apr 2009 01:45 PM

    You can see the tutorial here: http://www.gimptalk.com/forum/compile-latest-gimp-source-developer-version-for-ubuntu-9--t39598.html
    or here: http://www.flickr.com/groups/gimpusers/discuss/72157617207532628/

    There Martin H. pointed out that it may be useful to use "sudo checkinstall" instead of "sudo make install" so the installed files become registered by the package manager. Good idea, even if you can easily remove GIMP by deleting /opt/gimp-2.7 even without packages

  5. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Sat 02 May 2009 05:01:19 AM CEST rbp, 02 May 2009 05:01 AM

    Is there some way to see the changes in each new release? I don't really know how to use git. The 'changelog' file isn't updated anymore.

    thanks

  6. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Sat 09 May 2009 07:32:51 PM CEST raphi, 09 May 2009 07:32 PM

    rbp: >ou can check it easily when you cd to the ~/tmp/gimp (as mentioned above) and type in 'git log'.

    regards,
    raphi

  7. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Thu 16 Jul 2009 01:16:48 PM CEST Popolon, 16 Jul 2009 01:16 PM

    A dependence is missing, when you try to compile gimp itself (babl & gegl are OK), add the folling line (or packages in previou slines
    sudo apt-get install gtk-doc-tools

  8. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Tue 08 Sep 2009 12:40:03 AM CEST mamboze, 08 Sep 2009 12:40 AM

    While compiling, I got this error message:
    checking for BABL... configure: error: Package requirements (babl >= 0.1.0) were not met:

    Requested 'babl >= 0.1.0' but version of babl is 0.0.22

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables BABL_CFLAGS
    and BABL_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

    Configure failed or did not finish!

    Is babl 0.1.0 (or higher) available?

  9. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Tue 08 Sep 2009 01:03:27 AM CEST redforce, 08 Sep 2009 01:03 AM

    You have to compile the newest BABL first. Don't forget the exports at the beginning and use the same console (window) for all commands.

  10. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Tue 08 Sep 2009 02:21:00 AM CEST mamboze, 08 Sep 2009 02:21 AM

    Downloading last night was very slow so I used 2 console windows. Mistake!!

    I'll have another go today, thanks

  11. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Fri 11 Sep 2009 03:30:39 PM CEST 23dornot23d, 11 Sep 2009 03:30 PM

    7. Popolon ... excellent .... that was the same and only problem mine came up with too ... great work .... good answer ... cheers ...

  12. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Fri 11 Sep 2009 04:08:21 PM CEST 23dornot23d, 11 Sep 2009 04:08 PM

    The command to run GIMP 2.7 should be full name ....
    if running more than one version ....

    /opt/gimp-2.7/bin/gimp-2.7

  13. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Sat 12 Sep 2009 05:53:05 AM CEST mamboze, 12 Sep 2009 05:53 AM

    Thanx redforce. I compiled 2.7 a couple of days ago. No problem at all. It looks good.

  14. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Wed 30 Sep 2009 03:48:30 AM CEST gimp_user, 30 Sep 2009 03:48 AM

    checking for _NL_MEASUREMENT_MEASUREMENT... yes
    ./configure: line 23939: syntax error near unexpected token `0.40.1'
    ./configure: line 23939: `IT_PROG_INTLTOOL(0.40.1)'

    Configure failed or did not finish!


    How can this be fixed ?

  15. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Wed 30 Sep 2009 09:31:08 AM CEST Rave[N], 30 Sep 2009 09:31 AM

    I've followed this tutorial a few weeks ago and it worked like a charm. unfortunately I had reinstall my Kubuntu 9.04. When I tried to follow the same installation tutorial again - Gimp is complaining that GTK+ is not installed ant that it requires GTK+ version 2.16.6 and above.
    Gimp INSTALL file states that it only needs GTK+ 2.16.1 to compile, which is what I have installed.
    I've tried replacing all "2.16.6" values with "2.16.1" in the configure file to no avail.
    Any ideas how to go round it?

  16. http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html Wed 07 Oct 2009 06:27:12 PM CEST dexluther, 07 Oct 2009 06:27 PM

    dexluther@Lucy:~/tmp$ git clone git://git.gnome.org/gimp
    Initialized empty Git repository in /home/dexluther/tmp/gimp/.git/
    remote: Counting objects: 310268, done.
    remote: Compressing objects: 100% (46689/46689), done.
    remote: Total 310268 (delta 268524), reused 304021 (delta 263012)
    Receiving objects: 100% (310268/310268), 163.27 MiB | 651 KiB/s, done.
    fatal: index-pack failed80478/268524)

Registered users can log in (top right of the page) to use their profile name to post comments, request email notification on new comments and attach images (e.g. their versions of the effect) to their postings.

Are you human?

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services