LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2014, 12:26 AM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Rep: Reputation: 15
Please help with gimp and babl install


Dear Experts,

I'm running Redhat 6.4.
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-noarchrinting-4.0-amd64rinting-4.0-noarch
Distributor ID: OracleServer
Description: Oracle Linux Server release 6.4
Release: 6.4
Codename: n/a


I'm trying to download, install gimp, and get it to run.

At first, I used yum, which seemed to work.


....
Running Transaction
Installing : babl-0.1.2-4.el6.x86_64 1/7
Installing : libwmf-lite-0.2.8.4-22.el6.x86_64 2/7
Installing : libwmf-0.2.8.4-22.el6.x86_64 3/7
Installing : 2:gimp-libs-2.6.9-6.el6_5.x86_64 4/7
Installing : libspiro-20071029-3.1.el6.x86_64 5/7
Installing : gegl-0.1.2-5.el6.x86_64 6/7
Installing : 2:gimp-2.6.9-6.el6_5.x86_64 7/7
Verifying : gegl-0.1.2-5.el6.x86_64 1/7
Verifying : libwmf-0.2.8.4-22.el6.x86_64 2/7
Verifying : libspiro-20071029-3.1.el6.x86_64 3/7
Verifying : libwmf-lite-0.2.8.4-22.el6.x86_64 4/7
Verifying : babl-0.1.2-4.el6.x86_64 5/7
Verifying : 2:gimp-2.6.9-6.el6_5.x86_64 6/7
Verifying : 2:gimp-libs-2.6.9-6.el6_5.x86_64 7/7

Installed:
gimp.x86_64 2:2.6.9-6.el6_5

Dependency Installed:
babl.x86_64 0:0.1.2-4.el6 gegl.x86_64 0:0.1.2-5.el6 gimp-libs.x86_64 2:2.6.9-6.el6_5 libspiro.x86_64 0:20071029-3.1.el6
libwmf.x86_64 0:0.2.8.4-22.el6 libwmf-lite.x86_64 0:0.2.8.4-22.el6

Complete!




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


gimp -v
GNU Image Manipulation Program version 2.6.9

using GEGL version 0.1.2 (compiled against version 0.1.2)
using GLib version 2.22.5 (compiled against version 2.26.1)
using GTK+ version 2.18.9 (compiled against version 2.20.1)
using Pango version 1.28.1 (compiled against version 1.28.1)
using Fontconfig version 2.8.0 (compiled against version 2.8.0)


------------

However, when I went to run gimp, I got errors.


gimp &
[1] 11652
oracle@/home/notes/2014> gimp: symbol lookup error: gimp: undefined symbol: gtk_statusbar_get_message_area

(script-fu:12423): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error


And, while a splashscreen revealed itself, the app, gimp, never appeared.



------

Then, I find out that the version that got installed (2.6) is actually rather old.

http://www.gimp.org/downloads/
http://download.gimp.org/pub/gimp/v2.8/

The latest downloads are for version 2.8.
I downloaded: gimp-2.8.12.tar.bz2

And tried following the instructions here:
http://www.gimp.org/downloads/INSTALL


tar xvfz gimp-2.0.x.tar.gz # unpack the sources
cd gimp-2.0.x # change to the toplevel directory
./configure

-----


...
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for recommended xgettext version (>= 0.19)... no
checking for iso-codes... no (iso-codes package not found)
checking for BABL... no
configure: error: Package requirements (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.


------

The crazy thing is, the package babl is installed.

rpm -qa | grep -i "babl"
babl-0.1.2-4.el6.x86_64


But, unlike when I install other packages,
the system can't find an executable: babl.


which babl
/usr/bin/which: no babl in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/oracle/product/11.2.0/dbhome_1/bin:/home/oracle/bin:/oracle/product/11.2.0/dbhome_1/bin:/oracle/product/11.2.0/dbhome_1/bin)




-------

find / -type d 2> /dev/null | grep -i "babl"

/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64
/usr/share/doc/babl-0.1.2
/usr/lib64/babl-0.1



find / -type f 2> /dev/null | grep -i "babl"

/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/checksum_type
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/installed_by
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/from_repo
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/command_line
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/checksum_data
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/releasever
/var/lib/yum/yumdb/b/a4656d57ef6413c869f9f04fb034f82708ab6be6-babl-0.1.2-4.el6-x86_64/reason
...
/usr/share/doc/babl-0.1.2/README
/usr/share/doc/babl-0.1.2/COPYING
/usr/share/doc/babl-0.1.2/ChangeLog
/usr/share/doc/babl-0.1.2/NEWS
/usr/share/doc/babl-0.1.2/AUTHORS
/usr/lib64/babl-0.1/gggl.so
/usr/lib64/babl-0.1/gegl-fixups.so
/usr/lib64/babl-0.1/naive-CMYK.so
/usr/lib64/babl-0.1/gggl-lies.so
/usr/lib64/babl-0.1/sse-fixups.so
/usr/lib64/babl-0.1/gimp-8bit.so
/usr/lib64/babl-0.1/CIE.so
/usr/lib64/libbabl-0.1.so.0.101.1


-------


babl is:

http://pkgs.org/search/babl
babl-0.1.2-4.el6.x86_64.rpmA dynamic, any to any, pixel format conversion library


----

I tried proceeding anyway, but no dice.


which make
/usr/bin/make


cd /tmp/gimp/gimp-2.8.12

make
make: *** No targets specified and no makefile found. Stop.



------------------------

Questions:


Any ideas on how to get:
- the system to find the babl that is already installed?
- install "the correct" babl, so that (as above)
- get gimp to work

???


Thanks a lot!
 
Old 10-02-2014, 01:39 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,024

Rep: Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399Reputation: 1399
Hi,

it seems you are running RHEL 6 not the ancient Redhat 6. To install software on RHEL you should subscribe to the Redhat Network and then use yum. If you do not want to pay for this you should not be using RHEL. Instead you can use a free rebuild like CentOS or Scientific Linux, then installing them will be as simple as:
Code:
yum install gimp babl
Evo2.
 
Old 10-02-2014, 04:08 PM   #3
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Question

Dude, did you read the post?
If so, you will note that installing gimp using yum was the very first thing I did.


Does anyone else have any practical ideas to get gimp to work on Redhat 6.4?


ie.

How can I overcome the initial gimp error?

gimp &
[1] 11652
oracle@/home/notes/2014> gimp: symbol lookup error: gimp: undefined symbol: gtk_statusbar_get_message_area

(script-fu:12423): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error


-----

Why is babl installed as a package, but

which babl
and
apropos babl

do not find anything?


Thanks a lot!
 
Old 10-02-2014, 05:19 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,455

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
I have been building the gimp for YEARS

on RHEL6 you MUST !!!! use the OLD gimp 2.4
the same version that is in the "Oracle " repo and was auto installed along with the gnome desktop


Code:
su -
yum install gimp
is the preferred way

mind you this is "Oracle Linux Server release 6.4
a SERVER install
or are you trying to use a SERVER os on a desktop or laptop


a server normally will not have gtk or gnome installed
nor have xorg installed

but if you MUST put a "desktop" gui on a SERVER and run gimp on a server
that will be fun .
did you do a Desktop install of this ?


the problem you are having is you are mixing repos
and broke your system

reinstall the operating system is the easiest way to fix the glib,gtk,... isue you made


Quote:
I downloaded: gimp-2.8.12.tar.bz2
will NOT build on Oracle6.4
do not even try


i have been doing this for YEARS( building the source for gimp)
and I will not spend a full MONTH rebuilding 90% of the RHEL6 operating system to get gimp2.8 to build
-- not worth the 30 days of hair pulling out and STRESS

Last edited by John VV; 10-02-2014 at 05:22 PM.
 
1 members found this post helpful.
Old 10-02-2014, 05:44 PM   #5
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks a lot John, I do appreciate it!

This box is used as a server for Oracle, and other enterprise apps.
Although it is a dev/test box, and I do use the GUI.

The reason for gimp was to crop some screen shots for tech support.

I'll look to downgrade the gimp version.

Thanks again!
 
Old 10-02-2014, 06:26 PM   #6
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Question

Hi John,


Are you sure that you are using gimp 2.4 on Redhat 6?

I'm looking at my install DVD and it has gimp 2.6.9-4:

root@/media/OL6.4 x86_64 Disc 1 20130225# find . -type f | grep -i "gimp"

./Packages/gimp-2.6.9-4.el6_3.3.x86_64.rpm
./Packages/gimp-data-extras-2.0.2-3.1.el6.noarch.rpm
./Packages/gimp-help-2.4.2-5.1.el6.noarch.rpm
./Packages/gimp-help-browser-2.6.9-4.el6_3.3.x86_64.rpm
./Packages/gimp-libs-2.6.9-4.el6_3.3.x86_64.rpm
./Packages/xsane-gimp-0.997-8.0.1.el6.x86_64.rpm


----

The package I installed using yum is: 2.6.9-6

rpm -qa | grep -i "gimp" | sort

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

----


gimp 2.4 seems to be for Redhat 5:

http://rpm.pbone.net/index.php3/stat....i386.rpm.html


Did you download the older 2.4 rpm and compile it?

What are your OS and gimp versions please?



Thanks a lot!
 
Old 10-02-2014, 07:09 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,455

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
my oops
it was updated to 2.6 in 6.4
it was 2.4 before that
 
Old 10-02-2014, 09:07 PM   #8
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Smile

HI John,

Downgrading the package version worked!

I used these instructions:
http://www.if-not-true-then-false.co...-red-hat-rhel/

yum downgrade gimp gimp-libs
....


Now I get:

rpm -qa | grep -i "gimp"

gimp-2.6.9-4.el6_3.3.x86_64
gimp-libs-2.6.9-4.el6_3.3.x86_64


This is the second time in a few weeks that I've had to
downgrade a package to get some software to work.


What's frustrating with both is that each time I used yum
to install the software and packages. You would figure
that yum would figure it out correctly, but it did not.

Unfortunate that it's another of those
"you just have to know these things".


Thanks so much again!
 
  


Reply

Tags
gimp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Gimp 2.6 instead of gimp 2.8 in sid mediolanum Debian 17 08-18-2013 02:47 PM
LXer: GIMP Painter And GIMP Paint Studio Transform GIMP Into The Ultimate Painting Tool LXer Syndicated Linux News 0 02-08-2011 06:40 PM
Trying to install gimp Brushes to /usr/share/gimp/2.0/brushes but permission denied?? iTtrick Linux - Newbie 9 07-08-2009 07:33 AM
can't install gimp 2.2!!! haora Linux - Newbie 2 06-27-2005 11:57 PM
trying to install GImp 2.0 allelopath Linux - Software 5 11-14-2004 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration