Hi,

(I'm new to mozart/oz, please bear with me)

I've installed mozart + gtk bindings on ubuntu, feisty fawn (the latest
release) using the synaptic package manager (from debian packages).

However, I can't get gtk to import.  Everything else, including QTk etc
work.  If I do this for instance:

local
   [GTK]={Module.link ['x-oz://system/gtk/GTK.ozf']}
in
   {Browse GTK.window}
end

the compiler accepts it, but no browse window is shown...  It just hangs.
This is strange, because the same program works on another Ubuntu
distribution (dapper drake, older).  I'm guessing it's a library version
problem.

Anyway, I decided to compile the sources myself.  I managed to compile the
base and the std libs fine.  However, when I compile the gtk part, it dies
with the following error:

rt-gtk-20060615/mozart-
gtk-1.1/cygpath.sh /root/mozart-gtk-20060615/BUILD` -o
GBuilder.ozf
/usr/bin/ozengine Generator.ozf OzWrapper.ozf
'parse error'(9681
'__pthread_slist_t'|pthread_attr_t|pthread_t|fsfilcnt_t|fsblkcnt_t|blkcnt_t|fd_mask|fd_set|'__fd_mask'|suseconds_t|,,,|,,,)


I see that this has been reported as a problem in April on the debian
lists.  Does anyone know why it is happening, or how to fix it?  Again, I
believe it is a library problem.  As far as possible, I'm trying to use
GTK1.x...

Also, has anyone done any work to bring the bindings up to 2.0?

Cheers,
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to