gtk+-2.2.4 make fails



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 dir
ectory
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:52: warning: type defaults to `int' in
declarat
ion of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/Xft.h:86: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of
struct or u
nion
/usr/X11R6/include/X11/Xft/Xft.h:89: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: type defaults to `int' in
declarat
ion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: data definition has no
type or sto
rage class
/usr/X11R6/include/X11/Xft/Xft.h:93: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of
struct or u
nion
/usr/X11R6/include/X11/Xft/Xft.h:96: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: type defaults to `int' in
declarat
ion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no
type or sto
rage class
/usr/X11R6/include/X11/Xft/Xft.h:190: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:190: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:256: warning: type defaults to `int' in
declara
tion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:256: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:262: warning: type defaults to `int' in
declara
tion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:262: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:295: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:295: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:354: error: parse error before
"XftLockFace"
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: type defaults to `int' in
declara
tion of `XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: data definition has no
type or st
orage class
/usr/X11R6/include/X11/Xft/Xft.h:393: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:393: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:399: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:399: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:408: error: parse error before
"FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:418: error: parse error before
"XftCharIndex"
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: type defaults to `int' in
declara
tion of `XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: data definition has no
type or st
orage class
/usr/X11R6/include/X11/Xft/Xft.h:461: warning: type defaults to `int' in
declara
tion of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:461: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:472: warning: type defaults to `int' in
declara
tion of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:472: error: parse error before '*'
token
/usr/X11R6/include/X11/Xft/Xft.h:493: warning: type defaults to `int' in
declara
tion of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:493: error: parse error before '*'
token
make[3]: *** [gdkcolor-x11.lo] Error 1
make[3]: Leaving directory `/opt/build/gtk+-2.2.4/gdk/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/build/gtk+-2.2.4/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/build/gtk+-2.2.4'
make: *** [all-recursive-am] Error 2


Thanks in advance for any tips,
James
-- 
...so there I am at ten thousand feet with a power drill in one hand, a
takeaway menu in the other, no parachute and a _very_ suprised
expression...

Attachment: pgpKSyIEP8NQq.pgp
Description: PGP signature



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