Re: pango include files
- From: Sven Neumann <sven gimp org>
- To: Dave Kuhlman <dkuhlman cutter rexx com>
- Cc: gtk-list gnome org
- Subject: Re: pango include files
- Date: 02 Mar 2004 10:58:55 +0100
Hi,
Dave Kuhlman <dkuhlman cutter rexx com> writes:
> I'm having problems compiling pango. The error messages seem to be
> telling me that I need to change pango source code. But, I'm
> guessing there is something I've set up incorrectly. Here are the
> error messages:
>
> 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/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I../.. -g -O2 -Wall -c pango-ot-info.c -fPIC -DPIC -o .libs/pango-ot-info.o
> In file included from pango-ot-private.h:25,
> from pango-ot-info.c:22:
> /usr/local/include/freetype2/freetype/freetype.h:20:2: #error "t2build.h' hasn't been included yet!"
> /usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
> /usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
> /usr/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
> pango-ot-info.c:25:31: freetype/ftmodule.h: No such file or directory
> make[3]: *** [pango-ot-info.lo] Error 1
> make[3]: Leaving directory /w1/Source/Gtk2/pango-1.2.4/pango/opentype'
>
> Is there some additional flag I need to set? Or is there a
> different version of freetype that I need to install?
The Freetype project did some changes to their header files that break
old versions of Pango (and a lot of other libraries and apps using
freetype). IIRC, this is fixed in Pango-1.2.5. See also bug #125548.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]