Re: gtk+-2.2.4 make fails

calix ar com au 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

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../..
_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
ST_CHECKS -pthread -I/opt/pkgs/glib-2.3.2/include/glib-2.0
2/lib/glib-2.0/include -I/opt/pkgs/pango-1.2.5/include/pango-1.0
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\"
../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED
2.3.2/include/glib-2.0 -I/opt/pkgs/glib-2.3.2/lib/glib-2.0/include
ango-1.2.5/include/pango-1.0 -I/usr/X11R6/include
 -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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]