[SM-Discuss] Unable to Build gtk+2 2.4.7
Duane Malcolm
d.malcolm at auckland.ac.nz
Thu Aug 19 17:19:58 EDT 2004
> gtk+2 2.4.7 has cast correctly for me, maybe I'll try and recompile it.
Compiled fine.
>
> Cheers, Duane.
>
> Eric Sandall wrote:
>
>> Quoting "George J. Sherwood" <george at beernabeer.com>:
>>
>>> 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,
>>> 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?
>>
>>
>>
>> Have you tried recompiling freetype2? gtk+2 compiles fine on xorg
>> (both stable
>> and cvs versions).
>>
>> -sandalle
>>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
More information about the SM-Discuss
mailing list