Re: fontconfig error



On Sun, Aug 27, 2006 at 03:13:19PM -0700, Sergei Steshenko wrote:
> 
> 1) items like FT_FREETYPE_H, i.e. items without the encapsulating '"' or
> '<', '>' are meant to be macros;

Correct.

> 2) the above macros used to be defined in
> 
> freetype/config/ftheader.h
> freetype/internal/internal.h
> 
> files;

Correct.

However, these are FreeType headers, not fontconfig headers.
FreeType 2.2+ installs ftheader.h as usual, but it does not
install internal.h any more.

> 3) the above .h files are not within the source tarball anymore - here is
> my check of this statement:
> 
> "
> [31] 0:19 sergei comp home net:/mnt/removable4/sergei/build_work/build> find fontconfig-2.3.2
> -name "*.h"
> fontconfig-2.3.2/src/fcint.h
> fontconfig-2.3.2/fontconfig/fontconfig.h
> fontconfig-2.3.2/fontconfig/fcfreetype.h
> fontconfig-2.3.2/fontconfig/fcprivate.h
> fontconfig-2.3.2/fc-case/fccase.h
> fontconfig-2.3.2/fc-case/fccase.tmpl.h
> fontconfig-2.3.2/fc-lang/fclang.h
> fontconfig-2.3.2/fc-lang/fclang.tmpl.h
> fontconfig-2.3.2/fc-glyphname/fcglyphname.h
> fontconfig-2.3.2/fc-glyphname/fcglyphname.tmpl.h
> [32] 1:06 sergei comp home net:/mnt/removable4/sergei/build_work/build> 
> "
> 
> - indeed they are not in the tarball.

Indeed they do not belong to *fontconfig* source tarball.

> fontconfig-2.3.2.tar.gz can NOT be compiled because some header files
> (namely freetype/config/ftheader.h, freetype/internal/internal.h) are
> missing in it

No; if you have FreeType installed, you have ftheader.h.
But if it's version 2.2+ you do not have internal.h which
fontconfig uses too and therefore it does not compile.

Have you tried to apply

    http://freetype.sourceforge.net/freetype2/patches/fontconfig-2.3.2-noftinternals.patch

?

Yeti


--
Anonyms eat their boogers.



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