I just downloaded and had a try at installing pango 2.4 from source.  It
complained I need Glib 2.1.3 or better, yet rpm says I have
glib2.2.2.1-1 installed, though it also says that it provides 
/usr/lib/libglib-2.0.so.0.200.1, which doesn't look like a 2.2 version
to my simple mind.

Details:

[EMAIL PROTECTED] pango-1.2.4]# ./configure 
[...]
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config 
search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.1.3... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

[EMAIL PROTECTED] pango-1.2.4]# rpm -qa | grep glib2
glib2-2.2.1-1
[EMAIL PROTECTED] pango-1.2.4]#  pkg-config glib2 --libs --cflags
Package glib2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib2' found

[EMAIL PROTECTED] pango-1.2.4]# rpm -q --filesbypkg glib2-2.2.1-1
glib2                     /etc/profile.d/glib2.csh
glib2                     /etc/profile.d/glib2.sh
glib2                     /usr/lib/libglib-2.0.so.0
glib2                     /usr/lib/libglib-2.0.so.0.200.1
               *This* is version 2.2??? ---^
glib2                     /usr/lib/libgmodule-2.0.so.0
glib2                     /usr/lib/libgmodule-2.0.so.0.200.1
glib2                     /usr/lib/libgobject-2.0.so.0
glib2                     /usr/lib/libgobject-2.0.so.0.200.1
glib2                     /usr/lib/libgthread-2.0.so.0
glib2                     /usr/lib/libgthread-2.0.so.0.200.1
glib2                     /usr/share/doc/glib2-2.2.1
glib2                     /usr/share/doc/glib2-2.2.1/AUTHORS
glib2                     /usr/share/doc/glib2-2.2.1/COPYING
[etc.]

[EMAIL PROTECTED] pango-1.2.4]#  pkg-config --version 
0.14.0
[EMAIL PROTECTED] pango-1.2.4]# ls /usr/local/lib/pkgconfig
audiofile.pc

Does this make sense to anyone?

I think actually, I'll give up.  The Gtk+ page doesn't list fontconfig
as one of its dependencies, though it does list pango, so it looks like
people have only listed first level dependencies, so I just *know* I'd
wind up in the classic "download 96 rpm files, and discover either
conflicts or missing arcane rpm sub-dependencies" situation.

It's why I started using apt-get.  The fact that apr-get/apt-cache don't
have packages for any of this stuff I suspect is a big red waving
DANGER flag..

I think it's time to try installing gentoo, and leave all these upgrade
problems in the past.

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to