Installing Gimp on Redhat 6.4


Gimp is the GNU Image Manipulation Program. It is a freely distributed piece of software for tasks like photo retouching. I wanted to use it to crop photos, like Irfanview does so easily on Windows.

Unfortunately, like so many other software installations on Redhat Linux, the install was not straightforward and required overcoming errors. ūüė¶¬† Here’s how to install gimp on Redhat 6.4.

gimp - GNU Image Manipulation Program

gimp – GNU Image Manipulation Program

 

Use Yum To Install:

yum  list available gimp

Available Packages
gimp.x86_64                                                       2:2.6.9-6.el6_5

 

yum install  gimp

– this will install a number of packages

(1/7): babl-0.1.2-4.el6.x86_64.rpm
(2/7): gegl-0.1.2-5.el6.x86_64.rpm
(3/7): gimp-2.6.9-6.el6_5.x86_64.rpm
(4/7): gimp-libs-2.6.9-6.el6_5.x86_64.rpm
(5/7): libspiro-20071029-3.1.el6.x86_64.rpm
(6/7): libwmf-0.2.8.4-22.el6.x86_64.rpm
(7/7): libwmf-lite-0.2.8.4-22.el6.x86_64.rpm

 

rpm -qa | grep -i “gimp”

gimp-2.6.9-6.el6_5.x86_64
gimp-libs-2.6.9-6.el6_5.x86_64

 

which gimp
/usr/bin/gimp

 

Errors:

The install looked successful. But when I ran gimp, I got errors, and program did not run.

gimp &

gimp: symbol lookup error: gimp: undefined symbol: gtk_statusbar_get_message_area
(script-fu:12423): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

 

Solution:

The solution is to use yum to downgrade gimp.

yum downgrade  gimp  gimp-libs

Resolving Dependencies
–> Running transaction check
—> Package gimp.x86_64 2:2.6.9-4.el6_3.3 will be a downgrade
—> Package gimp.x86_64 2:2.6.9-6.el6_5 will be erased
—> Package gimp-libs.x86_64 2:2.6.9-4.el6_3.3 will be a downgrade
—> Package gimp-libs.x86_64 2:2.6.9-6.el6_5 will be erased
–> Finished Dependency Resolution

Removed:
gimp.x86_64 2:2.6.9-6.el6_5                                                    gimp-libs.x86_64 2:2.6.9-6.el6_5

Installed:
gimp.x86_64 2:2.6.9-4.el6_3.3                                                  gimp-libs.x86_64 2:2.6.9-4.el6_3.3

As so, gimp was downgraded from 2.6.9-6 to  2.6.9-4.  And then gimp worked fine.

 

Downloading The Official Packages Failed:

Initially, I went to http://www.gimp.org/downloads/ and downloaded gimp-2.8.12.tar.bz2.

However, this would not install. After unzipping, the initial configuration check failed.

cd /tmp/gimp/gimp-2.8.12
./configure

checking for iso-codes… no (iso-codes package not found)
checking for BABL… no
configure: error: Pas (babl >= 0.1.10) were not met:

No package ‘babl’ found

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.

And, trying to proceed with make anyway, failed.

 

The ultimate solution that worked was to downgrade gimp using yum.

 

 

Operating System Info:

Gimp was installed on this operating system:

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)

uname -a
Linux black.testrac.com 2.6.32-358.11.1.el6.x86_64 #1 SMP Tue Jun 11 10:24:58 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    OracleServer
Description:    Oracle Linux Server release 6.4
Release:    6.4
Codename:    n/a

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: