[gtkada] errors on mac os x 10.4

Thomas De Contes d.l.tDeContes at free.fr
Wed May 3 01:53:11 CEST 2006


Le mardi, 2 mai 2006, à 03:05 Europe/Paris, Thomas De Contes a écrit :

> hi :-)
>
>
> i use  
> http://www.macada.org/Downloads/Compiler/gcc-4.0-gnat-10.4.1-20050625- 
> dynamic.tgz
>
> when i ru a script like that :
>
> cvs -d :pserver:anoncvs at libre.act-europe.fr:/anoncvs login
> cvs -d :pserver:anoncvs at libre.act-europe.fr:/anoncvs co GtkAda
> cd GtkAda/
> patch -p0 < ../patch.txt
> ./configure --prefix=/Users/thomas/bin/autoinstall --with-GL=no
> make install
>
> i get sth finishing with that :
>
> gnatlink gate.ali -o gate-in.exe -L. -lgtkada  
> -L/Users/thomas/bin/autoinstall/lib -lgtk-x11-2.0 -lgdk-x11-2.0  
> -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpng12 -lz -lm  
> -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0  
> -lglib-2.0 -lintl -liconv
> /usr/bin/ld: Undefined symbols:
> _pango__tabs_E
> _ada_gtk_widget_new
> _glib__glade__gen_new__2
> _glib__glade__gen_set__2
> _glib__glade__gen_set__3
> _glib__glade__get_property__2
> _glib__glade__gettext
> collect2: ld returned 1 exit status
> gnatlink: cannot call /Users/thomas/bin/autoinstall/ada/4.0/bin/gcc
> gnatmake: *** link failed.
> make[1]: *** [gate-in.exe] Error 4
> make: *** [install] Error 2
>
> what's the pb ?

i've forgot to say that

- the patch comes from  
http://www.wright.edu/~john.matthews/gtk/patch.tgz

- i had errors when applying the patch :
patching file configure
Hunk #1 succeeded at 1438 with fuzz 2 (offset 18 lines).
patching file config.guess
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file config.guess.rej
patching file config.sub
Hunk #1 succeeded at 746 with fuzz 2 (offset 266 lines).
Hunk #2 succeeded at 1171 with fuzz 2 (offset 419 lines).
Hunk #3 succeeded at 1330 with fuzz 2 (offset 458 lines).
patching file src/Makefile.in
Hunk #1 succeeded at 11 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 32 (offset -1 lines).
Hunk #3 succeeded at 78 (offset -3 lines).
patching file src/Makefile.common.in
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 12.
2 out of 2 hunks FAILED -- saving rejects to file  
src/Makefile.common.in.rej
patching file src/gnome/Makefile.in
Hunk #1 succeeded at 1 with fuzz 1.
Hunk #2 FAILED at 33.
1 out of 2 hunks FAILED -- saving rejects to file  
src/gnome/Makefile.in.rej
patching file src/gtkextra/Makefile.in
Hunk #1 succeeded at 10 (offset 1 line).
patching file src/opengl/Makefile.in
Hunk #1 succeeded at 7 with fuzz 1.
Hunk #2 succeeded at 53 (offset -4 lines).
patching file src/glade/Makefile.in
Hunk #1 succeeded at 7 with fuzz 1.
Hunk #2 succeeded at 14 with fuzz 2 (offset -4 lines).
Hunk #3 succeeded at 47 (offset 6 lines).
patching file testgtk/Makefile.in

- i have exactly the same error without applying the patch


well, should i no longer apply the patch ? is there an other version ?




More information about the gtkada mailing list