Problem compiling gtk+=2.4.0 `ft2build.h' hasn't been included yet!
- From: "bob.snyder" <bob snyder cox net>
- To: gtk-list gnome org
- Subject: Problem compiling gtk+=2.4.0 `ft2build.h' hasn't been included yet!
- Date: Fri, 16 Apr 2004 19:30:26 -0700
I am trying to build gtk 2.4.0 on an what once was a Slackware 8 system.
I have installed atk-1.6.0, glib-2.4.0, pango-1.4.0, and freetype-2.1.7.
I am getting the following error. I expect this may have something to do with the fact that older
versions of some of these things were in installed in /usr/X11/.... rather than in /usr/local/...
which is where I have installed all the new ones. I had some problems with pango and freetype2 but
all are cleanly installed now. /usr/X11R6/include/freetype2 is a symlink to
/usr/local/include/freetype2.
Any help is greatly appreciated.
Bob S.
-----
Making all in x11
make[4]: Entering directory `/downloads/gtk+-2.4.0/gdk/x11'
if /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_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
-c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c; \
then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
else rm -f ".deps/gdkasync.Tpo"; exit 1; \
fi
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_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/X11R6/include/freetype2
-I/usr/X11R6/include -I/usr/local/include/freetype2 -Wall -MT gdkasync.lo -MD -MP -MF
.deps/gdkasync.Tpo -c gdkasync.c -fPIC -DPIC -o .libs/gdkasync.o
In file included from /usr/local/include/X11/Xft/Xft.h:41,
from ../../gdk/x11/gdkdrawable-x11.h:35,
from ../../gdk/x11/gdkwindow-x11.h:30,
from gdkprivate-x11.h:36,
from gdkx.h:78,
from gdkasync.c:49:
/usr/X11R6/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/X11R6/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include
FreeType header files."
/usr/X11R6/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/X11R6/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/X11R6/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/downloads/gtk+-2.4.0/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/downloads/gtk+-2.4.0/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/downloads/gtk+-2.4.0/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/gtk+-2.4.0'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]