[gtkada] gtkada 2.2.1 on mac os x

Nicolas Setton setton at adacore.com
Mon Dec 6 11:10:54 CET 2004


Hello,

> but right now i have problems (i hope they'll be resolved soon) :
>
> at the moment of applying the gtkada patch :
> patching file config.sub
> Hunk #1 FAILED at 94.
> Hunk #3 FAILED at 957.
> patching file src/Makefile.in
> Hunk #1 FAILED at 12.

This can be ignored...

> then, running the gtkada sample :
> testgtk/testgtk
> raised CONSTRAINT_ERROR : gtk-handlers.adb:1368 access parameter is 
> null
>
> in fact, some prgms can not compile, some can compile but can not 
> launch (testgtk), some can launch but can not do everything they 
> should

 From my experience, this happens when you compile the gtk+ files with 
the gcc 3.3 backend (which comes with Panther), and you compile GtkAda 
with a gcc-34-based compiler.

I suggest you try installing Jim Hopper's 3.3-based gcc (available on 
macada.org) to build GtkAda.

This should work ;-)

Nico




More information about the gtkada mailing list