LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-06-2008, 03:29 PM   #1
ThePowerTool
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 1
RHEL5, RPMs, and pkg-config


I'm working on installing GIMP (just as an FYI--this questions really isn't about GIMP).

My system detals are:
cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.1 (Tikanga)

uname -a
Linux mysystem.com 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007 i686 i686 i386 GNU/Linux

I'm at a step where I need to install GTK+ and receive the following:

checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:

No package 'pango' found
No package 'cairo' 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 BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

A quick query yielded -
rpm -q pango
pango-1.14.9-3.el5
*and*
rpm -qa | grep airo
cairo-1.2.4-3.el5_1
cairo-java-1.0.5-3.fc6
pycairo-1.2.0-1.1
perl-Cairo-1.023-1.oc2

1.14 clearly exceeds the base requirement of 1.12 (for pango).
1.2.4 clearly meets the base requirement of 1.2.0 (for cairo).

pkg-config -
pkg-config --modversion pango
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found

pkg-config --modversion cairo
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found

I'm told by an expert that the RPM used to install pango and cairo didn't install the package configuration files with the packages. To quote: "'configure' does not test if the library is installed, and if the RPM didn't include the .pc file then you need to either find a different source for your RPMs or look for a "development" RPM (which will contain the headers and .pc files)."

Can someone please clue me in on the proper way to handle this situation? I am guessing I can rip out the pango and cairo packages and re-install without the RPMs. I just want to know I'm headed in the right direction of if there's a better way to handle this situation.

Thanks!
 
Old 02-06-2008, 03:48 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Errr........... what is so hard about doing; yum install gimp

RHEL5 is yum enabled.

This will install gimp and all the related/required/dependencies for you including the gtk+. A valid subscription to RHN is all that is required. If you do not have one then consider using one of the freely available 100% binary compatible clones like CentOS or Scientific Linux.
 
Old 02-06-2008, 04:29 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Probably what you need to install is the devel rpms for those packages. The compiling of Gimp will need to use those packages in the build process which is my guess. If all you have done is a plain install then those rpms will be on the CD.

Brian
 
  


Reply



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
Need help to remaster RHEL5 with added RPMs amemait Red Hat 17 08-08-2008 12:06 PM
RPMs for rhel5 akhil.mud Linux - Software 2 11-05-2007 08:58 AM
pkg-config? vraidroit Linux - Software 1 06-10-2006 10:33 PM
pkg-config supersucker Linux - Software 3 09-07-2004 09:45 AM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:33 AM.

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
Open Source Consulting | Domain Registration