calix@xxxxxxxxx wrote:
Apologies if this has already been covered, but I've not been able to
find it in the docs, the FAQ or the list archives.
I'm trying to build gtk+ on a customised Debian 3.0r2 host, and getting
the problem described below. It happens regardless of whether I'm using
the default version of gcc, or whether I'm trying gtk+ version 2.2.3,
2.2.4 or 2.3.2.
I'm assuming here that I've borked some dependency on the host, given
the lack of references to this problem (and given my habit of compiling
from scratch wherever viable).
Any hints as to where I've gone wrong, or even where to concentrate my
attention, would be gratefully received.
I've compiled glib-2.3.2 from source, as well as pango-1.2.5 and
atk-1.2.4.
The config line is:
./configure --prefix=/opt/pkgs/gtk+-2.2.4 --enable-fbmanager
--with-xinput=yes --with-x
The result is always a failure in gdk/x11, with a long stream of
complaints about syntax errors. The actual output is:
make[2]: Entering directory `/opt/build/gtk+-2.2.4/gdk'
Making all in x11
make[3]: Entering directory `/opt/build/gtk+-2.2.4/gdk/x11'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DG_LOG
_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
-DG_DISABLE_DE
PRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DG_DISABLE_CA
ST_CHECKS -pthread -I/opt/pkgs/glib-2.3.2/include/glib-2.0
-I/opt/pkgs/glib-2.3.
2/lib/glib-2.0/include -I/opt/pkgs/pango-1.2.5/include/pango-1.0
-I/usr/X11R6/in
clude -I/usr/X11R6/include/freetype2 -g -O2 -Wall -c gdkcolor-x11.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DGDK_COMPILATION -I
../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPREC
ATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread
-I/opt/pkgs/glib-
2.3.2/include/glib-2.0 -I/opt/pkgs/glib-2.3.2/lib/glib-2.0/include
-I/opt/pkgs/p
ango-1.2.5/include/pango-1.0 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2
-g -O2 -Wall -c gdkcolor-x11.c -fPIC -DPIC -o .libs/gdkcolor-x11.o
In file included from ../../gdk/x11/gdkdrawable-x11.h:37,
from ../../gdk/x11/gdkwindow-x11.h:30,
from gdkprivate-x11.h:36,
from gdkx.h:78,
from gdkcolor-x11.c:31:
/usr/X11R6/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such
file or directory
Is freetype.h on the system and in the search path? The other errors are
probably caused by the following implicit declarations.
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list