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

[Freeciv-Dev] Re: Cannot compile GTK2 client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Cannot compile GTK2 client
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Mon, 22 Mar 2004 10:43:33 -0500

Christian Knoke wrote:
I have problems with this on Debian Woody:

configure failed
---------------------------------------------
configure:6712: gtk/gtk.h: No such file or directory

Compilation needs a -I/usr/include/gtk1.2.  On my machine I have

[jdorje@devon:~/src/freeciv/freeciv]$ pkg-config gtk+-2.0 --cflags
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

which is how configure knows to use this. What does the above line give for you?

Another possible problem is if a local version of gtk+-2.0.m4 is being used rather than the included Freeciv version. I don't know if this is possible.

jason


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