how to update the gtk lib??



hi,

Because the previous version of glib and gtk in my system is 1.2,i want to use

the new function of gtk2.0.So i try to update the lib,but no success.Here's my
process:

Fisrt,compile and install the glib2.0.0 and gtk2.0.0

Second,add path in the ld.so.config and run ldconfig,and i see these information:

/opt/gtk/lib:
	libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.0.0
	libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.0.0
	libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.0.0
	libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.0.0
/opt/glib/lib:
	libgthread-2.0.so.0 -> libgthread-2.0.so.0.0.0
	libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.0.0
	libgobject-2.0.so.0 -> libgobject-2.0.so.0.0.0
	libglib-2.0.so.0 -> libglib-2.0.so.0.0.0

but the glib-config and gtk-config shell in the /usr/bin/ is still for

glib1.2 and gtk1.2,at every time the configure of my code will use the
two config shell to identify the library.I try to modify them for 2.0,

but have no effect,and it had cause the 1.2 version lost.

What a mess it is,how can i use the new lib in my system?How to remove the old
version?How to modify the two config file for gtk2.0?

thanks in advance

Best regards

david




_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/




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