On Tue, Feb 16, 2010 at 03:57:52PM +0100, Gerd Hoffmann wrote:
Well. Even pretty fundamental GNOME stuff like gtk2-devel is still broken. Look here:
[root@localhost ~]# pkg-config --libs gtk+-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lX11 is missing (at least, maybe more). Any gtk app using pkg-config to figure which libraries are required fails to build now.
Only if the library you are compiling actually uses any libX11 APIs. If it only uses APIs from the named libraries, it will link fine.
Jakub