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!
|