Le lun 31/05/2004 à 21:31, Andreas Breidbach a écrit : > Dear all > > I'm trying to build the whole gtk-2.4.1 suite. glib-2.4.1 build and > installed ok. But pango-1.4.0 doesn't. configure finishes ok but during > make the following error is displayed: > > [snip] > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/ > local/etc\" -DLIBDIR=\"/usr/local/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST > _CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/includ > e -I/usr/local/include -I/usr/include/freetype2 -I/usr/X11R6/include -I../.. -g > -O2 -Wall -MT otlbuffer.lo -MD -MP -MF .deps/otlbuffer.Tpo -c otlbuffer.c -fP > IC -DPIC -o .libs/otlbuffer.o > otlbuffer.c: In function `otl_buffer_ensure': > otlbuffer.c:32: warning: implicit declaration of function `FT_REALLOC_ARRAY' > otlbuffer.c:32: parse error before "OTL_GlyphItemRec" > otlbuffer.c:34: parse error before "OTL_GlyphItemRec" > otlbuffer.c:36: parse error before "OTL_PositionRec" > otlbuffer.c:27: warning: unused variable `error' > otlbuffer.c:22: warning: unused variable `memory' > otlbuffer.c: In function `otl_buffer_new': > otlbuffer.c:51: warning: implicit declaration of function `FT_ALLOC' > otlbuffer.c: In function `otl_buffer_free': > otlbuffer.c:92: warning: implicit declaration of function `FT_FREE' > otlbuffer.c:90: warning: unused variable `memory' > make[4]: *** [otlbuffer.lo] Error 1 > make[4]: Leaving directory `/usr/src/pango-1.4.0/pango/opentype' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/src/pango-1.4.0/pango' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/src/pango-1.4.0/pango' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/pango-1.4.0' > make: *** [all] Error 2 > > [snap] > > What am I missing here? Any help would be greatly appreciated This is a freetype problem. The correponding lines in otlbuffer.h are: #include <ft2build.h> #include FT_FREETYPE_H On my linux box FT_FREETYPE_H is defined in /usr/X11R6/include/freetype2/freetype/config/ftheader.h (included from /usr/X11R6/include/freetype2/ftbuild.h) as: #define FT_FREETYPE_H <freetype/freetype.h> Hope this helps. Jean
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=