[SM-Discuss] Unable to Build gtk+2 2.4.7
Vladimír Marek
vlmarek at volny.cz
Tue Aug 17 08:51:05 EDT 2004
> I am getting this error when trying to build gtk+2 2.4.7.
> -------------------------------------------
>
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATIO
> N -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABL
> E_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/us
> r/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/u
> sr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/includ
> e/libpng12 -O -march=pentium3 -mmmx -mfpmath=sse -msse -pipe -O3 -Wall -MT
> gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c -fPIC -DPIC -o
> .libs/gdkasync.o
> In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mine Xft.h:35 has line:
#include <ft2build.h>
gaze from /usr/X11R6/include/X11/Xft/Xft.h
xfree86-4.4.0:/usr/X11R6/include/X11/Xft/Xft.h
> 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/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't
> been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use
> macros to include FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
> <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include
> FT_FREETYPE_H"
> make[5]: *** [gdkasync.lo] Error 1
> make[5]: Leaving directory `/usr/src/gtk+-2.4.7/gdk/x11'
> make[4]: *** [all-recursive] Error 1
>
> ------------------------------------
> Any ideas?
To which package belongs your /usr/X11R6/include/X11/Xft/Xft.h ? Maybe
xorg problem ?
>
> George
--
Neuron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20040817/cb351cc4/attachment.bin
More information about the SM-Discuss
mailing list