Problems building gtk+-2.2.4

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

 



Hello everybody:
 
I am having problems building gtk+-2.2.4
 
Installation order followed:
 
1 pkgconfig-0.15.0
2 glib-2.2.3
3 pango-1.2.5       
4 atk-1.2.4   
5 gtk+-2.2.4.tar.gz
 
All the programs have been built using configure, make and make install with
no options.
 
This is the error message I get when building gtk.
 
make[3]: Entering directory `/root/gtk/gtk+-2.2.4/demos/gtk-demo'
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall  -o gtk-demo  appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o images.o item_factory.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o main.o ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la
gcc -g -O2 -Wall -o .libs/gtk-demo appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o images.o item_factory.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o main.o  ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/local/lib ../../gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib ../../gtk/.libs/libgtk-x11-2.0.so /root/gtk/gtk+-2.2.4/gdk/.libs/libgdk-x11-2.0.so /root/gtk/gtk+-2.2.4/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXrandr -lXinerama -lXft -lXrender -lXext /usr/lib/libfreetype.so /usr/lib/libpangox-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 -lX11 /usr/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-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
/usr/bin/ld: warning: libXft.so.1, needed by /usr/lib/libpangoxft-1.0.so, may conflict with libXft.so.2
../../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_fprintf'
../../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_get_application_name'
../../gtk/.libs/libgtk-x11-2.0.so: undefined reference to `g_sprintf'
collect2: ld returned 1 exit status
make[3]: *** [gtk-demo] Error 1
make[3]: Leaving directory `/root/gtk/gtk+-2.2.4/demos/gtk-demo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gtk/gtk+-2.2.4/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gtk/gtk+-2.2.4'
make: *** [all-recursive-am] Error 2
 
It looks like the script is taking the library files  both from /usr/lib and
/usr/local/lib. In the /usr/lib directory seems that there is an old version
of the libraries and this causes the display of the error message.
 
How can I tell the script to take the library files only from  one directory ?
When installing, glib how can I tell the configure script to install the library files in
/usr/lib in order to avoid this error message ?
 
Thanks,
 
Aitor


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux