Re: problems compiling gtk+ 1.3.7



horst freedict de writes:

> Hello, as I wanted to try the unicode features of gtk, I downloaded gtk
> 1.3.7 (gtk+-all-1.3.7), and tried to compile it (on linux 2.4.0; xfree
> 4.1.0), but failed:
> 
> I do:
> 
> $> configure
> $> make
> 
> and after compiling glib; pango; atk
> when doing gtk+ I eventually get the following error message:
> 
> gcc -DHAVE_CONFIG_H -I. -I../../../../gtk+/gdk/x11 -I../.. -DG_LOG_DOMAIN=\"Gdk\" -I../../../../gtk+ -I../../../../gtk+/gdk -I../../gdk -DG_ENABLE_DEBUG -I../../../glib/../../glib/gmodule -I../../../glib -I../../../glib/../../glib -I../../../glib/../../glib/glib -I../../../pango/../../pango -I/usr/X11R6/include -g -O2 -g -Wall -c ../../../../gtk+/gdk/x11/gdkdrawable-x11.c             -fPIC -DPIC -o .libs/gdkdrawable-x11.lo
> In file included from ../../../pango/../../pango/pango/pangoxft.h:27,
>                  from ../../../../gtk+/gdk/x11/gdkdrawable-x11.c:34:
> ../../../pango/../../pango/pango/pango-ot.h:43: parse error before `face'
> ../../../pango/../../pango/pango/pango-ot.h:87: parse error before `*'
> ../../../pango/../../pango/pango/pango-ot.h:87: parse error before `face'
> ../../../pango/../../pango/pango/pango-ot.h:90: warning: type defaults to `int' in declaration of `FT_Error'
> ../../../pango/../../pango/pango/pango-ot.h:90: `FT_Error' declared as function returning a function
> ../../../pango/../../pango/pango/pango-ot.h:99: parse error before `*'
> ../../../pango/../../pango/pango/pango-ot.h:99: parse error before `pos'
> ../../../pango/../../pango/pango/pango-ot.h:103: warning: type defaults to `int' in declaration of `FT_UShort'
> ../../../pango/../../pango/pango/pango-ot.h:103: `FT_UShort' declared as function returning a function
> ../../../pango/../../pango/pango/pango-ot.h:109: parse error before `PangoOTGlyphLoader'
> ../../../pango/../../pango/pango/pango-ot.h:113: parse error before `PangoOTAlternateFunc'
> In file included from ../../../../gtk+/gdk/x11/gdkdrawable-x11.c:34:
> ../../../pango/../../pango/pango/pangoxft.h:58: parse error before `pango_xft_font_get_face'
> ../../../pango/../../pango/pango/pangoxft.h:58: warning: type defaults to `int' in declaration of `pango_xft_font_get_face'
> ../../../pango/../../pango/pango/pangoxft.h:58: warning: data definition has no type or storage class
> make[4]: *** [gdkdrawable-x11.lo] Error 1
> 
> 
> Any hints, what I do wrong? 
> My search did not produce valuable hints what is going wrong.

Pango currently requires FreeType 2.0.3 not 2.0.4. (Trouble is
that they are somewhat source incompatible and it's hard to be
compatible with both.) We'll hopefully get this fixed soon -
for now, you can downgrade FreeType, or, to compile without
FreeType support, you could do:

 FREETYPE_CONFIG=no ./configure

in Pango.

Regards,
                                        Owen




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