[gtkada] compiler & gtk version

Thomas De Contes d.l.tDeContes at free.fr
Thu Dec 2 19:02:25 CET 2004


Le jeudi, 2 déc 2004, à 14:35 Europe/Paris, James E. Hopper a écrit :

>
> On Dec 2, 2004, at 6:00 AM, gtkada-request at lists.adacore.com wrote:
>
>>
>>>> you said me that GtkAda-2.2.1.tgz need an older version of gtk than  
>>>> the one i have
>>>> do you know the maximum version of gtk which is supported ? i'll  
>>>> see if i can get it
>>>
>>> It's gtk+-2.2.4.
>>
>> anyway i can't get it via darwinports
>
> i am pretty sure 2.2.4 is available at darwinports.

ah ?
someone said me no :


De: Matt Anton <matt at opendarwin.org>
Date: Lun 22 nov 2004  19:32:22 Europe/Paris
À: DarwinPorts Stars <darwinports at opendarwin.org>
Objet: Rép : gtk version
> is it possible to get an earlier version ?
With DarwinPorts, no.
Unless port's maintainer maintain a variant that do so.


[nathalie:~] thomas% port installed
         gtk-engines2 2.2.0_0 (active)
         gtk2 2.4.13_0 (active)


>    just not for 10.2 which is really old.

i suggest to not spoke about 10.2, only about 10.3, since i have one  
available (remote) :-)
when it will run right on 10.3 i'll see to have it on 10.2 :-)

but at once i've the same pb on 10.3 :

patching file config.sub
Hunk #1 FAILED at 94.
Hunk #3 FAILED at 957.
patching file src/Makefile.in
Hunk #1 FAILED at 12.
........
testgtk/testgtk
raised CONSTRAINT_ERROR : gtk-handlers.adb:1368 access parameter is null

and a lot of sample which does not run correctly


and, for the app for wich i am paid, (the more important for me)
/usr/bin/ld: Undefined symbols:
_gnat__strings_E
collect2: ld returned 1 exit status

it's curious, my work prgm was made with glade, and it is the same  
error with GtkAda/examples/editor/gladeedit.adb
but i did "port install glade" and it's all the same !
where "_gnat__strings_E" could comes from ?


>
>>
>>> But you'd be better off by working with the CVS version and  
>>> investigating the reasons why Jim Hopper's patch do not apply, and  
>>> fixing these. Or just wait until we integrate this patch in the CVS  
>>> version.
>>
>
> Patches work fine on 10.3 with darwin ports version of gtk as a number  
> of people are using them.

could you check that we have the same version of gtk please ?
it could be that you have not update it, so you haven't the last right  
now


for info, here is all what i got in the terminal (mac os x 10.3.3) :
http://tDeContes.hd.free.fr/aide/ada/gtk/the%20errors/ 
3.4.4%20compiler%20on%2010.3%20+%20extras




More information about the gtkada mailing list