Re: Trouble building CVS pango



rsteinke w-link net writes:
> 	I think the configure script is having some trouble getting the
> version number of my libfreetype installation right. I get compile time
> errors related to pango/opentype/fterrcompat.h. The bulk of the file
> is
> 
> #ifdef HAVE_FREETYPE_2_0_3
> #include <freetype/internal/tterrors.h>
> #else
> #define TT_Err_Ok FT_Err_Ok
> #define TT_Err_Invalid_Argument FT_Err_Invalid_Argument
> #define TT_Err_Invalid_Face_Handle FT_Err_Invalid_Face_Handle
> #define TT_Err_Table_Missing FT_Err_Table_Missing
> #endif
> 
> I get errors about FT_Err_Table_Missing not being defined. If I comment
> things out so that the include happens instead, everything works fine.
> I'm running an up-to-date debian woody system. Dpkg gives my libfreetype
> version number as
> 
> libfreetype6     2.0.2.20010514-1

Hmm, so you have <freetype/internal/tterrors.h> and it contains
TT_Err_Table_Missing?

Can you look in config.log and see why this check failed:

## see which freetype we have, 2.0.3 vs. 2.0.4
pango_save_cppflags="$CPPFLAGS"  
CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
AC_CHECK_HEADER(freetype/internal/tterrors.h,
AC_DEFINE(HAVE_FREETYPE_2_0_3))
CPPFLAGS="$pango_save_cppflags"

Havoc




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