Re: Gtk2.1.0 with X11 problem



pocm mega ist utl pt (Paulo J. Matos) writes:

> I downloaded sources from gnome of Gtk2.1.0 and I was installing
> it.
> I installed atk, glib, pango and while making gtk2.1.0 I got:
> gcc -g -O2 -g -Wall -Wl,--export-dynamic -o .libs/gtk-query-immodules-2.0 queryimmodules.o -Wl,--export-dynamic  -L/usr/local/lib ./.libs/libgtk-x11-2.0.so /home/pdestroy/gnome2.1.0/gtk+-2.1.0/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11/lib /usr/local/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so /home/pdestroy/gnome2.1.0/gtk+-2.1.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXinerama -lXft -lXrender -lXext -lX11 /usr/local/lib/libfreetype.so /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/usr/local/lib
> /home/pdestroy/gnome2.1.0/gtk+-2.1.0/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XftDrawPicture'
> collect2: ld returned 1 exit status
> make[3]: *** [gtk-query-immodules-2.0] Error 1
> make[3]: Leaving directory `/home/pdestroy/gnome2.1.0/gtk+-2.1.0/gtk'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/pdestroy/gnome2.1.0/gtk+-2.1.0/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pdestroy/gnome2.1.0/gtk+-2.1.0'
> make: *** [all-recursive-am] Error 2
> 
> Any ideas of what this might be about?

GTK+-2.1.0 isn't compatible with Xft1.  One solution is to
install fontconfig and Xft2 from http://fontconfig.org. 
(With the caveat that it isn't going to be completely 
easy to set up, since you will be effectively replacing
one of the libraries that comes with X.)

Or alternatively the problem has been fixed in CVS, so you could 
install GTK+ from CVS. Or wait for GTK+-2.1.1. (I'd guess
early next week.)

Regads,
                                        Owen




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