[Freeciv-Dev] Re: Cannot compile GTK2 client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
You certainly have a GTK+ version >= 2.0.0. But you likely do not have a
version >= 2.2.1. Debian stables are notorious for being always out of
date, which is why there are all those jokes about how the XFree86 4.4.0
licensing problem will not be an issue for the next 10 years, and so on.
:-)
That is why most people I know who use Debian go with testing or unstables.
The GTK+ 2 client in version 1.14.1 required GTK+ >= 2.0.0. The one in CVS
HEAD requires >= 2.2.1.
You may check your current GTK+ library version by typing:
pkg-config gtk+-2.0 --modversion
The latest version of GTK+ is 2.4.0. The last version of the 2.2.x series
was 2.2.4.
IIRC.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
On Mon, 22 Mar 2004, Christian Knoke wrote:
>
> I have problems with this on Debian Woody:
>
> --------------------------------------------
> checking for GTK+ - version >= 2.2.1... no
> *** Could not run GTK+ test program, checking why...
> *** The test program failed to compile or link. See the file config.log for
> the
> *** exact error that occured. This usually means GTK+ is incorrectly
> installed.
> configure: error: specified client 'gtk-2.0' not configurable (GTK+-2.0
> libraries not found)
>
> configure failed
> ---------------------------------------------
> configure:6712: gtk/gtk.h: No such file or directory
> configure:6735: $? = 1
> configure: failed program was:
> #line 6710 "configure"
> #include "confdefs.h"
>
> #include <gtk/gtk.h>
> #include <stdio.h>
>
> #ifdef F77_DUMMY_MAIN
> # ifdef __cplusplus
> extern "C"
> # endif
> int F77_DUMMY_MAIN() { return 1; }
> #endif
> int
> main ()
> {
> return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
> ;
> return 0;
> }
> configure:6768: error: specified client 'gtk-2.0' not configurable (GTK+-2.0
> libraries not found)
> ----------------------------------------
>
> But I have
>
> chris@karl:~$ locate *gtk.h
> /usr/include/gtk-1.2/gtk/gtk.h
> /usr/include/gtk-2.0/gtk/gtk.h
> /usr/include/pygtk/pygtk.h
>
> chris@karl:~$ pkg-config --list-all
> gdk-pixbuf-xlib-2.0 GdkPixbuf Xlib - GdkPixbuf rendering for Xlib
> gdk GDK - GIMP Drawing Kit
> gmodule GModule - Dynamic module loader for GLib
> gdk-x11-2.0 GDK - GIMP Drawing Kit (x11 target)
> gnome-mime-data-2.0 gnome-mime-data - Base set of file types and
> applications for GNOME
> glib GLib - C Utility Library
> gmodule-2.0 GModule - Dynamic module loader for GLib
> gtk+-x11-2.0 GTK+ - GIMP Tool Kit (x11 target)
> gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling
> gtk+-2.0 GTK+ - GIMP Tool Kit (x11 target)
> pangoft2 Pango FT2 - Freetype 2.0 font support for Pango
> glib-2.0 GLib - C Utility Library
> esound esound - esound
> gthread GThread - Thread support for GLib
> gthread-2.0 GThread - Thread support for GLib
> gobject-2.0 GObject - GLib Type, Object, Parameter and Signal
> Library
> pangoxft Pango Xft - Xft font support for Pango
> pangox Pango X - X Window System font support for Pango
> imlib Imlib - An image loading and rendering library for X11R6
> audiofile audiofile - audiofile
> pango Pango - Internationalized text handling
> gtk+ GTK+ - GIMP Tool Kit
> gdk-2.0 GDK - GIMP Drawing Kit (x11 target)
> imlibgdk ImlibGdk - GDK support libraries for Imlib
> libxml libXML - libXML library.
> atk Atk - Accessibility Toolkit
>
> chris@karl:~$ apt-cache dumpavail | grep Package: | grep libgtk2.0
> Package: libgtk2.0-0
> Package: libgtk2.0-common
> Package: libgtk2.0-dbg
> Package: libgtk2.0-dev
> Package: libgtk2.0-doc
>
>
> --disable-gtktest option to autogen.sh doesn't help either
>
> Christian
>
>
> --
> Christian Knoke * * * http://cknoke.de
> * * * * * * * * * Ceterum censeo Microsoft esse dividendum.
>
>
|
|