Re: Help Please !



On Thu, 2006-10-26 at 14:36 -0300, Luis Ariel Lecca wrote:
>  Could someone give me any hit with this, please ?

It is almost certainly not a but in GTK.  

This type of problem comes up very frequently.  Invariably it is a
conflict between the distro install of gtk and this one you are building
yourselft.  Do not attempt to built GTK and install it yourself.  Use
your distribution's pre-built binary packages instead.  If you do try to
compile and install gtk yourself, and you are not expert in using the
LD_LIBRARY_PATH, PKG_CONFIG_PATH, etc environment variables, you will
have disaster.  

If you are hell-bent on building GTK yourself, and you understand the
risks of replacing distribution-shipped libraries, you might try
using ./configure --prefix=/usr (although this is often considered a bad
idea).

If you still want to build your own gtk to coexist with the system gtk,
you'll have to do something like the following:

export LD_LIBRARY_PATH=/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
cd glib-blah/
./configure --prefix=/usr/local
make make install

then repeat for atk, pango, gtk, etc.

Anytime you want to compile against your shiny new libraries you'll have
to remember to set the same variables, and at runtime you'll have to set
LD_LIBRARY_PATH.

If all you want to do is get an upgraded version of GTK on your system
(not caring about the system one), then consider building new packages
for your package manager to replace GTK in a controlled fashion.  This
is not trivial but always the cleanest.

Michael

> 
>  --- Luis Ariel Lecca <ariel_xxii yahoo com ar>
> escribió:
> 
> >  
> >  Hello:
> >  
> >  Im trying to make the gtk+ lib release 2.10.6.
> >  I pass the configuration step, however I send 
> >  config.log, if somebody wants take a look to it.
> > When
> > 
> >  I do make, appear references to not declared 
> >  functions like 
> >  _gtk_plug_windowing_filter_func
> >  _gtk_socket_windowing_realize_window
> >  IA__gdk_colormap_change
> >  ... 
> > 
> >  if I search (*.*, case sensitive) through the files
> > 
> >  for IA__gdk_colormap_change (or for
> >  _gtk_socket_windowing_realize_window)
> >  it doesnt appear in anyone.
> >  
> >  Is it a bug in gtk or in a configure file ?
> >  Could anybody tell me how could I get a solution to
> > 
> >  this ?
> > 
> >  Thanks,
> >  Luis
> >  
> > 
> > __________________________________________________
> > Correo Yahoo!
> > Espacio para todos tus mensajes, antivirus y
> > antispam ¡gratis! 
> > ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar>
> make  all-recursive
> > make[1]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6'
> > Making all in po
> > make[2]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/po'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/po'
> > Making all in po-properties
> > make[2]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/po-properties'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/po-properties'
> > Making all in gdk-pixbuf
> > make[2]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > make  all-recursive
> > make[3]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > Making all in pixops
> > make[4]: Entering directory
> >
> `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf/pixops'
> > make[4]: Nothing to be done for `all'.
> > make[4]: Leaving directory
> >
> `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf/pixops'
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > make[3]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > make[2]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf'
> > Making all in gdk
> > make[2]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > make  all-recursive
> > make[3]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > Making all in directfb
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk/directfb'
> > make[4]: Nothing to be done for `all'.
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk/directfb'
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > make[3]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > make[2]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gdk'
> > Making all in gtk
> > make[2]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > make  all-recursive
> > make[3]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > Making all in theme-bits
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk/theme-bits'
> > make[4]: Nothing to be done for `all'.
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk/theme-bits'
> > Making all in xdgmime
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk/xdgmime'
> > make[4]: Nothing to be done for `all'.
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk/xdgmime'
> > make[4]: Entering directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > /bin/sh ../libtool --mode=link gcc 
> > -DG_DISABLE_DEPRECATED -static -Os -Wall   -o
> > gtk-query-immodules-2.0  queryimmodules.o
> > libgtk-directfb-2.0.la
> > ../gdk-pixbuf/libgdk_pixbuf-2.0.la
> > ../gdk/libgdk-directfb-2.0.la 
> > gcc -DG_DISABLE_DEPRECATED -Os -Wall -o
> > gtk-query-immodules-2.0 queryimmodules.o 
> > ./.libs/libgtk-directfb-2.0.a
> >
> /usr/local/src/gtk-dfb/gtk+-2.10.6/gdk/.libs/libgdk-directfb-2.0.a
> > /usr/lib/libatk-1.0.a
> > ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.a
> > ../gdk/.libs/libgdk-directfb-2.0.a
> > /usr/lib/libpangocairo-1.0.a /usr/lib/libcairo.a
> > /usr/lib/libdirectfb.a /usr/lib/libfusion.a
> > /usr/lib/libdirect.a -lpthread /usr/lib/libpng12.a
> > /usr/lib/libpangoft2-1.0.a /usr/lib/libfontconfig.a
> > /usr/lib/libxml2.a /usr/lib/libfreetype.so -lz
> > /usr/lib/libpango-1.0.a
> >
> /usr/local/src/gtk-dfb/gtk+-2.10.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.a
> > /usr/lib/libgmodule-2.0.a -ldl
> > /usr/lib/libgobject-2.0.a /usr/lib/libglib-2.0.a
> > -lrt -lm
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x68d):
> > In function `gtk_plug_realize':
> > : undefined reference to
> > `_gtk_plug_windowing_filter_func'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x6ad):
> > In function `gtk_plug_realize':
> > : undefined reference to
> > `_gtk_plug_windowing_realize_toplevel'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x772):
> > In function `gtk_plug_map':
> > : undefined reference to
> > `_gtk_plug_windowing_map_toplevel'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x7b3):
> > In function `gtk_plug_unmap':
> > : undefined reference to
> > `_gtk_plug_windowing_unmap_toplevel'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0xb11):
> > In function `gtk_plug_focus':
> > : undefined reference to
> > `_gtk_plug_windowing_focus_to_parent'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x212):
> > In function `gtk_plug_get_id':
> > : undefined reference to
> > `_gtk_plug_windowing_get_id'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x8d5):
> > In function `gtk_plug_set_focus':
> > : undefined reference to
> > `_gtk_plug_windowing_set_focus'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x94b):
> > In function `add_grabbed_key':
> > : undefined reference to
> > `_gtk_plug_windowing_add_grabbed_key'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x96f):
> > In function `add_grabbed_key_always':
> > : undefined reference to
> > `_gtk_plug_windowing_add_grabbed_key'
> >
> ./.libs/libgtk-directfb-2.0.a(gtkplug.o)(.text+0x9cb):
> > In function `remove_grabbed_key':
> > : undefined reference to
> > `_gtk_plug_windowing_remove_grabbed_key'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x2e8):
> > In function `gtk_socket_realize':
> > : undefined reference to
> > `_gtk_socket_windowing_realize_window'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x2ee):
> > In function `gtk_socket_realize':
> > : undefined reference to
> > `_gtk_socket_windowing_filter_func'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x351):
> > In function `_gtk_socket_end_embedding':
> > : undefined reference to
> > `_gtk_socket_windowing_end_embedding_toplevel'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x416):
> > In function `gtk_socket_size_request':
> > : undefined reference to
> > `_gtk_socket_windowing_size_request'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x54e):
> > In function `gtk_socket_size_allocate':
> > : undefined reference to
> > `_gtk_socket_windowing_send_configure_event'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x5ae):
> > In function `activate_key':
> > : undefined reference to
> > `_gtk_socket_windowing_send_key_event'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x71b):
> > In function `socket_update_focus_in':
> > : undefined reference to
> > `_gtk_socket_windowing_focus_change'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x774):
> > In function `socket_update_active':
> > : undefined reference to
> > `_gtk_socket_windowing_update_active'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x89f):
> > In function `gtk_socket_key_event':
> > : undefined reference to
> > `_gtk_socket_windowing_send_key_event'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x932):
> > In function `gtk_socket_focus':
> > : undefined reference to
> > `_gtk_socket_windowing_focus'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xa2f):
> > In function `_gtk_socket_add_window':
> > : undefined reference to
> > `_gtk_socket_windowing_select_plug_window_input'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xa7c):
> > In function `_gtk_socket_add_window':
> > : undefined reference to
> > `_gtk_socket_windowing_embed_get_info'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xac4):
> > In function `_gtk_socket_add_window':
> > : undefined reference to
> > `_gtk_socket_windowing_filter_func'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xb08):
> > In function `_gtk_socket_add_window':
> > : undefined reference to
> > `_gtk_socket_windowing_embed_notify'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xbe1):
> > In function `_gtk_socket_advance_toplevel_focus':
> > : undefined reference to
> > `_gtk_socket_windowing_embed_get_focus_wrapped'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0xbea):
> > In function `_gtk_socket_advance_toplevel_focus':
> > : undefined reference to
> > `_gtk_socket_windowing_embed_set_focus_wrapped'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x25b):
> > In function `gtk_socket_get_id':
> > : undefined reference to
> > `_gtk_socket_windowing_get_id'
> >
> ./.libs/libgtk-directfb-2.0.a(gtksocket.o)(.text+0x87a):
> > In function `gtk_socket_grab_notify':
> > : undefined reference to
> > `_gtk_socket_windowing_update_modality'
> >
> /usr/local/src/gtk-dfb/gtk+-2.10.6/gdk/.libs/libgdk-directfb-2.0.a(gdkcolor.o)(.text+0x74):
> > In function `gdk_colors_store':
> > : undefined reference to `IA__gdk_colormap_change'
> > collect2: ld returned 1 exit status
> > make[4]: *** [gtk-query-immodules-2.0] Error 1
> > make[4]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6/gtk'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/usr/local/src/gtk-dfb/gtk+-2.10.6'
> > make: *** [all] Error 2
> > > _______________________________________________
> > gtk-devel-list mailing list
> > gtk-devel-list gnome org
> >
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> > 
> 
> 
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
> ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 




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