Summary: can compile gtk2 client
                 Project: Freeciv
            Submitted by: syntron
            Submitted on: Freitag 09.10.2009 um 00:10
                Category: client-gtk-2.0
                Severity: 5 - Blocker
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.2.0



I can compile the gtk2 client. System: opensuse 11.1

# autogen.sh
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... yes (version 2.14.4)
checking for X... libraries , headers
****************** Configuration Summary ******************

  Build freeciv client: yes
    Debugging support:  some

  Client frontends:
    Gtk-2.0: yes
    SDL:     no
    Xaw:     no
    Win32:   no
    FTWL:    no
    Stub:    no

  Build freeciv server:    yes
    Debugging support:     some
    Auth database support: no

# make
libtool: link: gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -g -O2 -o freeciv-gtk2 dummy.o  -L/usr/lib64 -lSDL
-lpthread -lSDL_mixer ./.libs/libfcgui-gtk2.a -lz
../common/.libs/libfreeciv.a -lz -lz -lSDL -lpthread -lSDL_mixer
/usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so
/usr/lib64/libatk-1.0.so -lpangoft2-1.0 /usr/lib64/libgdk_pixbuf-2.0.so
-lgio-2.0 -lpangocairo-1.0 /usr/lib64/libcairo.so -lz
/usr/lib64/libpixman-1.so -lglitz -lpng12 /usr/lib64/libxcb-render-util.so
/usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so
/usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so -lXau -ldl -lz -lm -lpango-1.0
/usr/lib64/libfreetype.so -lz -lz -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lbz2 -lz
./.libs/libfcgui-gtk2.a(menu.o): In function `menus_rename':
undefined reference to `gtk_action_set_label'
collect2: ld returned 1 exit status

Reverting SVN16067/SVN16068 (patch #1315) fixes this.

I checked also the internet and found this (http://bugs.gentoo.org/278347):

> gtk_action_set_label() seems to be a function that was added
> to gtk in version 2.16.

So configure should check for gtk >= 2.16. I will now start the search for a
newer version for my OS ...


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to