On Mon, 2002-10-28 at 17:47, zentara wrote:
Hi, How do I get GTK-2.0 packages to compile with suse 8.1. It really annoys me that suse never gets it setup right.
I have the gtk and gtk2 packages installed, but packages that require gtk-2.0 give an error: #######################################################################3 checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. #########################################################################
So I set the PKG_CONFIG_PATH env variable to /usr/lib/gtk-2.0 and the error still appears.
Under suse7.2 I had to resort to compiling and reinstalling all the gtk stuff myself, just to get it configured properly. What does suse do to keep mucking upi the gtk configuration?
Hi, znetara: Have you installed pkgconfig? i.e. what "rpm -qa | grep pkgconfig" shows? Also remember to check the gtk2-devel package. I have just compiled some packages involving gtk2 without problem. Yongtao Yang