Re: Glib-1.144 compile error



On 16/03/07, Roderich Schupp <roderich schupp googlemail com> wrote:
The output of

pkg-config --cflags --libs gtk+-2.0

would be interesting. Most likely it implies a version of libglib-2.0
other than the
one you built pango with.

$ pkg-config --cflags --libs gtk+-2.0
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -Wl,--export-dynamic -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

You are absolutely right - it is showing the system library, not my
local sandbox - and therefore ignoring the PKG_CONFIG_PATH
environmental variable.

Any ideas what I need to do to get PKG_CONFIG_PATH respected?

Thanks

Jeff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]