problem building gtk+ 2.10.13
- From: dcottingham00 comcast net
- To: gtk-list gnome org
- Subject: problem building gtk+ 2.10.13
- Date: Fri, 31 Aug 2007 20:13:23 +0000
I've run into a problem building gtk+ 2.10.14. My distro has an older version of
gnome, and I'm trying to install an application that requires a more up-to-date
gtk+; but I don't want to replace the system library, since that will likely break
everything else. So my approach is to build gtk+ and the libraries it depends on
into a separate prefix.
So glib 2.12.13, cairo 1.2.4, and pango 1.16.4 have all been installed into the
prefix /home/dc/local/AU/1, PKG_CONFIG points to /home/dc/local/AU/1/lib/pkgconfig,
LD_LIBRARY_PATH points to /home/dc/local/AU/1/lib. "./configure --prefix=/home/dc/local/AU/1"
is happy, including reporting that it found glib version 2.12.13. But "make", after
much effort, fails here:
/bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -o gtk-query-immodules-2.0 queryimmodules.o libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la
gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-x11-2.0.so -L/home/dc/local/AU/1/lib /home/dc/support/gtk+-2.10.14/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib /usr/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama /usr/lib/libpangocairo-1.0.so /usr/lib/libcairo.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /home/dc/local/AU/1/lib/libpango-1.0.so /home/dc/local/AU/1/lib/libcairo.so -lSM -lICE -lpng12 /usr/X11R6/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lXcursor -lXrender -lXext -lXfixes -lX11 /home/dc/support/gtk+-2.10.14/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /home/dc/local/AU/1/lib/libgmodule-2.0.so -ldl /home/dc/local/AU/1/lib/libgobject-2.0.so /home/dc/local/AU/1/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/home/dc/local/AU/1/lib
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_title'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_bookmark_file_get_is_private'
... and then many more undefined references.
Is this failing because it's searching the glib in /usr/lib before the new one in
/home/dc/local/AU/1/lib? If so, why is it doing this? Any ideas how I can debug this?
Thanks,
Dave Cottingham
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]