[gtkada] Building GtkAda git master on OpenSuSE Tumbleweed
Emmanuel Briot
briot at adacore.com
Tue Aug 16 14:55:19 CEST 2016
> Since I am not using the Gtk openGL stuff I got adventurous and made the following change (hack alert!)
Seems like you might want to simply use
./configure --without-GL --prefix=...
when you configure, to disable openGL support altogether, rather than the "hack" you just did.
> With that change, compilation proceeded for a while but then I got another error:
>
> gcc -shared -o /home/okellogg/tools/gtkada/src/lib/gtkada/relocatable/libgtkada.so.17.0w ... @/home/okellogg/tools/gtkada/src/obj/gtkada/relocatable/GNAT-TEMP-000006.TMP
> /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/bin/ld: cannot find -lgnat-6.1
> collect2: error: ld returned 1 exit status
> gprlib: /usr/bin/gcc execution error
> gprbuild: could not build library for project gtkada
> make: *** [Makefile:85: build_library_type/relocatable] Error 4
>
> I guess that is a missing soft link in openSuSE's GNAT installation:
Seems like an installation issue here.
> Again in shared.gpr at Gtk_Libs I added "-lX11" and then the build went successful.
Strange that this would not be included by pkg-config, though. We cannot hard-code this in
GtkAda, since gtk+ doesn't depend on X11 for all supported systems.
Thanks for the feedback
Emmanuel
More information about the gtkada
mailing list