how to update the gtk lib??
? ? <[email protected]> Sat, 20 Jul 2002 13:33:05 +0800
| Newsgroups | gmane.comp.gnome.lib.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ps. checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no *** Could not run GTK test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config configure: error: GTK not installed _________________________________________________________________ 浜ㄤ涓澶х靛欢绯荤 MSN Hotmailhttp://www.hotmail.com/cn