I am having no end of bad luck building 2.7.4. Amongst doing other things throughout the time, I've spent the last two days(!!) trying to build it. First on Ubuntu 10.10. Second on Trisquel 5.0. Third on Ubuntu 11.10 using VirtualBox.
Here's what I've done:
0) Install a fresh, brand new Ubuntu 11.10 i386 version.
1) Run Update Manager and get everything current.
2) sudo apt-get install build-essential linux-headers-$(uname -r)
3) sudo apt-get install git intltool libtool libbabl-0.0-0-dev libgegl-0.0-dev libtiff4-dev libtiff-tools ruby libjpeg62-dev libopenexr-dev librsvg2-dev ircd-irc2 gtk-doc-tools xvfb
4) sudo apt-get build-dep gimp
I downloaded the following versions:
12.5MB -
gtk+-2.24.8.tar.xz5.7MB -
glib-2.31.2.tar.xz1.3MB -
pango-1.29.5.tar.xz0.5MB -
babl-0.1.6.tar.bz25.4MB -
gegl-0.1.8.tar.bz218.1MB -
gimp-2.7.4.tar.bz2I went through the steps outlined on page 3:
5) ./configure (defaults to --prefix=/usr/local) gtk+-2.24.8, then make, then sudo make install.
6) ./configure (defaults to --prefix=/usr/local) glib-2.31.2, then make, then sudo make install.
7) ./configure (defaults to --prefix=/usr/local) pango-1.29.5, then make, then sudo make install.
8) ./configure (defaults to --prefix=/usr/local) babl-0.1.6, then make, then sudo make install.Everything to step 8) worked fine. But then I tried to ./configure gegl-0.1.8 and I get an error that glib-2.31.2 is installed, but that 2.30.0 was also found. So, then I tried to move the gegl build step further ahead in the build order and came up with this:
Instead, use these steps to get all dependencies built correctly without issue:
5) ./configure (defaults to --prefix=/usr/local) babl-0.1.6, then make, then sudo make install.
6) ./configure (defaults to --prefix=/usr/local) gegl-0.1.8, then make, then sudo make install.
7) ./configure (defaults to --prefix=/usr/local) gtk+-2.24.8, then make, then sudo make install.
8) ./configure (defaults to --prefix=/usr/local) glib-2.31.2, then make, then sudo make install.
9) ./configure (defaults to --prefix=/usr/local) pango-1.29.5, then make, then sudo make install.
If after getting everything above built, you get this error while running ./configure on gimp 2.7.4:
checking for GLIB - version >= 2.30.2...
*** 'pkg-config --modversion glib-2.0' returned 2.31.2, but GLIB (2.30.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
Use this:
export LD_LIBRARY_PATH=/usr/local/lib
./configure
make
sudo make install
Best regards,
Rick C. Hodgin