Click to See Complete Forum and Search --> : GTK+ versions


i_like_peanut_butter
01-04-2003, 07:21 PM
If I replace my current GTK+ (v1.2.10) with the latest GTK+ 2 will I have to upgrade all the apps that use gtk? If so, is it possible to have mutliple versions of the same libraries installed, and if so, how?

Thanks

AdaHacker
01-05-2003, 12:08 PM
The new version of GTK+ is not compatible with the old version, you you definitely want to keep both versions on the system. It's not really possilbe to just upgrade all your GTK+ apps, as not all of them have been updated to use GTK+ 2.x. For example, there is no GTK+ 2.x version of XMMS

You can probably just install GTK+ 2.x normally, as the library and directory names should all br different. You can also just install it under another directory. For example, if GTK+ 1.2 is in /usr, you can install GTK+ 2.x in /usr/local, or something like that.

i_like_peanut_butter
01-06-2003, 07:42 PM
Thanks for your reply! I'm running Slackware 8.1 and it puts the gtk 1.2 stuff in /usr, by default gtk2 puts its stuff in /usr/local. GTK+ apps find the old version, GTK 2 apps find the new. Works out nicely.