It is currently Tue Dec 01, 2026 2:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Gimp-2.7.4 comments
PostPosted: Thu Dec 29, 2011 9:40 am  (#61) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
@foxmuldr. Packages, dependencies and tools for install GIMP 2.7.x on Ubuntu 11.10 Oneiric:

sudo apt-get install build-essential linux-headers-$(uname -r)

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

sudo apt-get build-dep gimp

After that you install the programs in the order that I commented on page 3:
viewtopic.php?f=4&t=2643&start=20
Regards.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: Gimp-2.7.4 comments
PostPosted: Thu Dec 29, 2011 10:18 am  (#62) 
Offline
GimpChat Member

Joined: Dec 27, 2011
Posts: 6
YAFU wrote:
@foxmuldr. Packages, dependencies and tools for install GIMP 2.7.x on Ubuntu 11.10 Oneiric:

sudo apt-get install build-essential linux-headers-$(uname -r)

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

sudo apt-get build-dep gimp

After that you install the programs in the order that I commented on page 3:
viewtopic.php?f=4&t=2643&start=20
Regards.

I appreciate the info. I think the best thing I can do is create a VM of 11.10, build it there, and then run it there. :-) In the alternative, build everything to /opt, but then I don't know how to tell each component build to use the libraries and include files from /opt instead of /usr or /usr/local.

Building on older distros is proving quite difficult. I hosed an Ubuntu 10.10 installation, and a Trisquel 5.0 installation. Tough stuff. Or more likely it's just me being so ignorant as to building Linux packages that it's too tough for me.

Best regards,
Rick C. Hodgin


Top
 Post subject: Re: Gimp-2.7.4 comments
PostPosted: Thu Dec 29, 2011 7:03 pm  (#63) 
Offline
GimpChat Member

Joined: Dec 27, 2011
Posts: 6
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.xz
5.7MB - glib-2.31.2.tar.xz
1.3MB - pango-1.29.5.tar.xz
0.5MB - babl-0.1.6.tar.bz2
5.4MB - gegl-0.1.8.tar.bz2
18.1MB - gimp-2.7.4.tar.bz2

I 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


Top
 Post subject: Re: Gimp-2.7.4 comments
PostPosted: Wed Sep 05, 2012 10:17 am  (#64) 
Offline
New Member

Joined: Sep 05, 2012
Posts: 2
I've written a little bash script that automate the process, maybe it could be of a little help:

viewtopic.php?f=7&t=5157


Top
Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group