Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Cannot compile GTK2 client
Home

[Freeciv-Dev] Cannot compile GTK2 client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Cannot compile GTK2 client
From: Christian Knoke <chrisk@xxxxxxxxx>
Date: Mon, 22 Mar 2004 11:28:39 +0100

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.


[Prev in Thread] Current Thread [Next in Thread]