LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Unable to compile Gnome apps (https://www.linuxquestions.org/questions/suse-opensuse-60/unable-to-compile-gnome-apps-543398/)

google01103 04-04-2007 05:26 PM

Unable to compile Gnome apps
 
From what I can tell I have the development libs installed

Get the message:
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment

But I have 2.10 installed (both gtk2-2.10.9-16.1 and
gtk2-devel-2.10.9-16.1)

PKG_CONFIG_PATH = /opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig

ls /opt/gnome/lib64/pkgconfig
gal-2.6.pc gmodule-no-export-2.0.pc gthread-2.0.pc
gdk-2.0.pc gobject-2.0.pc gtk+-2.0.pc
gdk-pixbuf-2.0.pc gstreamer-0.10.pc gtk+-unix-print-2.0.pc
gdk-pixbuf-xlib-2.0.pc gstreamer-base-0.10.pc gtk+-x11-2.0.pc
gdk-x11-2.0.pc gstreamer-check-0.10.pc liboil-0.3.pc
gkrellm.pc gstreamer-controller-0.10.pc librsvg-2.0.pc
glib-2.0.pc gstreamer-dataprotocol-0.10.pc libwnck-1.0.pc
gmodule-2.0.pc gstreamer-net-0.10.pc
gmodule-export-2.0.pc gstreamer-plugins-base-0.10.pc

less /opt/gnome/lib64/pkgconfig/gtk+-2.0.pc =
prefix=/opt/gnome
exec_prefix=${prefix}
libdir=/opt/gnome/lib64
includedir=${prefix}/include
target=x11
gtk_binary_version=2.10.0
gtk_host=x86_64-unknown-linux-gnu
Name: GTK+
Description: GIMP Tool Kit (${target} target)
Version: 2.10.9
Requires: gdk-${target}-2.0 atk cairo
Libs: -L${libdir} -lgtk-${target}-2.0
Cflags: -I${includedir}/gtk-2.0
/opt/gnome/lib64/pkgconfig/gtk+-2.0.pc

thanks,

google01103 04-05-2007 08:42 AM

fixed

by running "pkg-config gtk+-2.0 --modversion" I found that the problem was that "pango.pc" was not in the $PKG_CONFIG_PATH so I added /usr/lib64/pkgconfig to the path


All times are GMT -5. The time now is 01:09 PM.