List Info

Thread: Old gtk binaries with new bindings? Or not?




Old gtk binaries with new bindings? Or not?
user name
2006-04-08 03:26:01
Greetings.

I have to do an installation this weekend that I'm not
looking forward
to ...

I'm installing on Windows 2003 server, running Citrix. For
some reason,
the latest version of gtk that I can get running on Windows
2003 is
gtk-2.6.9. With later versions ( I tried a few ), gtk apps
bail out
complaining that they can't see some symbols or something (
was in a
hurry and didn't write down the exact problem ). Anyway,
I'm not
interested in figuring out this symbol stuff at the moment
... later
maybe. For now, I will be using gtk-2.6.9.

So. My question is: What version of the win32 binaries of
various things
( gtk2, glib ) do I use? I'm only using functionality from
gtk-2.6.x. Is
it a very bad idea to use bindings compiled against a
current gtk with
an earlier version? If so, which versions of glib & gtk2
is OK for
gtk-2.6.9?

Thanks 

Dan

_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Old gtk binaries with new bindings? Or not?
user name
2006-04-08 13:03:29
Hi Daniel,

bear in mind that I don’t actually know what I’m talking
about,
I only know the theory. That said:

* Daniel Kasak <danentropy.homelinux.org> [2006-04-08
05:30]:
> Is it a very bad idea to use bindings compiled against
a
> current gtk with an earlier version?

Yes. You can use bindings compiled against an old gtk+
binary
with a new gtk+ binary, but not the other way around.

> If so, which versions of glib & gtk2 is OK for
gtk-2.6.9?

Any version of the bindings should work, just make sure they
are
compiled against a gtk+ binary no newer than the one on your
system.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/&g
t;
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Old gtk binaries with new bindings? Or not?
user name
2006-04-08 13:22:21
A. Pagaltzis wrote:

> Any version of the bindings should work, just make sure
they are
> compiled against a gtk+ binary no newer than the one on
your
> system.

Thanks for the response 

And yeah I expected that. The problem is that the naming of
the Win32
binaries doesn't really help me in selecting ( ie the
naming doesn't
indicate which version of gtk it's compiled against ). Does
anyone know
which is the latest version compiled against gtk-2.6.9?

Dan
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Old gtk binaries with new bindings? Or not?
user name
2006-04-08 14:54:55
On Apr 8, 2006, at 9:03 AM, A. Pagaltzis wrote:

> bear in mind that I don’t actually know what I’m
talking about,
> I only know the theory. That said:
>
> * Daniel Kasak <danentropy.homelinux.org>
[2006-04-08 05:30]:
>> Is it a very bad idea to use bindings compiled
against a
>> current gtk with an earlier version?
>
> Yes. You can use bindings compiled against an old gtk+
binary
> with a new gtk+ binary, but not the other way around.

The basic reason is that the bindings have to include real
code to  
support functions in the base library, and the bindings
choose which  
subset of functions to include based on the version of the
base  
library available at compile time.

There's no problem with there being more stuff in the base
library  
than the binding supports (running with newer gtk+ than
compiled  
for), but things get upset if you try to load a program that
refers  
to things that are missing (running with older gtk+ than
compiled for).

Note that this really only applies to minor version
differences  
(changes in x.y.z's y); micro versions of the same minor
version  
should be replaceable.  That is, you should be able to
compile  
against 2.6.9 and run with 2.6.1 (though the higher versions
are  
usually less buggy).


--
I believe that if music companies are going to set examples
they need  
to do it to appropriate people and not dead people.
   --  Robin Chianumba

_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )