Michael O'Keefe wrote:
I would like to compile a short list, but it seems that there are tricks to matching up the names right, such as config.log says gtk+-2.0 where yum says gtk2.

configure actually uses the pkg-config program to find out information about the libraries rather than the RPM's.

ala :

[EMAIL PROTECTED] ~]$ pkg-config --modversion libglade-2.0
2.5.1

[EMAIL PROTECTED] ~]$ ls /usr/lib/pkgconfig/*.pc | wc -l
192


Can this be used somehow to give me the package names? When I take the name given by config.log, and look here, this is what I see:
$ cat /usr/lib/pkgconfig/libgoffice-0.4.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include

Name: libGOffice
Description: G Office support library
Version: 0.4.3
Requires: glib-2.0 gobject-2.0 libgsf-1 libxml-2.0 gtk+-2.0 libglade-2.0 libgnomeprint-2.2 libart-2.0 cairo pangocairo
Libs: -L${libdir} -lgoffice-0
Libs.private:  -lpcre
Cflags: -I${includedir}/libgoffice-0.4
GOffice_plugins_dir=${libdir}/goffice/0.4.3/plugins


But I don't exactly see anything obvious here that the package name is goffice04. I see some clues, some good clues in fact, but is that the best?

And does pkg-config show stuff about packages that are *not* installed yet? Because I think that is what I need.



--
Ralph

--------------------
The spelling of words is subordinate. Morbidness for nice spelling and tenacity 
for or against one letter or so means dandyism and impotence in literature.
--Walt Whitman


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to