Been long time playing on v2.4.0 on my old system and decided to try out v2.6.8.
I used 'git clone -b R2_6_8 https://github.com/freeciv/freeciv freeciv-2.6.8' to get the source.
Running 'sh ./autogen.sh' goes smoothly, which will trigger configure without options (which also completes smoothly).
At this point, i did './configure --prefix=/home/omero/freeciv268 --enable-client=gtk2,sdl' and all apparently goes well, as indicated by the final summary one gets at the end.
However, the next 'make' steps proceeds past the 'sdl' stage but in the 'gtk2' stage, it terminates with:
Code: Select all
Making all in gui-gtk-2.0
make[2]: Entering directory `/home/omero/tmp/freeciv-2.6.8.2023-03-16+11:46:48/client/gui-gtk-2.0'
make all-am
make[3]: Entering directory `/home/omero/tmp/freeciv-2.6.8.2023-03-16+11:46:48/client/gui-gtk-2.0'
CC gui_main.lo
gui_main.c: In function ‘key_press_map_canvas’:
gui_main.c:551: error: ‘GDK_KEY_plus’ undeclared (first use in this function)
gui_main.c:551: error: (Each undeclared identifier is reported only once
gui_main.c:551: error: for each function it appears in.)
gui_main.c:555: error: ‘GDK_KEY_minus’ undeclared (first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-nonnull-compare"
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
make[3]: *** [gui_main.lo] Error 1
make[3]: Leaving directory `/home/omero/tmp/freeciv-2.6.8.2023-03-16+11:46:48/client/gui-gtk-2.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/omero/tmp/freeciv-2.6.8.2023-03-16+11:46:48/client/gui-gtk-2.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/omero/tmp/freeciv-2.6.8.2023-03-16+11:46:48/client'
make: *** [all-recursive] Error 1
Relevant part:
Code: Select all
checking for GTK+ - version >= 2.12.0... yes (version 2.18.5)
checking for GTHREAD_GTK2... yes
I need some help to understand which GTK+2 library provides those ‘GDK_KEY_plus’ and ‘GDK_KEY_minus’.
Please, pretty pretty please with sugar on top: help me get a GTK2 client running on my ancient system. Please