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.
Use Yum To Install:
yum list available gimp
yum install gimp
– this will install a number of packages
rpm -qa | grep -i “gimp”
The install looked successful. But when I ran gimp, I got errors, and program did not run.
gimp: symbol lookup error: gimp: undefined symbol: gtk_statusbar_get_message_area
(script-fu:12423): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
The solution is to use yum to downgrade gimp.
yum downgrade gimp gimp-libs
–> 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
gimp.x86_64 2:2.6.9-6.el6_5 gimp-libs.x86_64 2:2.6.9-6.el6_5
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.
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:
Red Hat Enterprise Linux Server release 6.4 (Santiago)
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 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