freetype/ fontconfig issues

Riccardo Mottola rmottola at opencsw.org
Tue Apr 25 10:06:51 CEST 2017


Hi,


Riccardo Mottola via devel wrote:
> /opt/csw/include/ft2build.h:56:38: fatal error: 
> freetype/config/ftheader.h: No such file or directory
> compilation terminated.
> gmake[7]: *** [obj/xlib.obj/XGFont.m.o] Error 1
>
> I searched for ftheader.h and couldn't find it indeed. 

I correct myself: ftheader.h exist and is provided by freetype2:

/opt/csw/include/freetype2/freetype/config/ftheader.h

if I pass
CONFIGURE_ARGS_5.9 += CFLAGS="$(CFLAGS) -I/opt/csw/include/freetype2"

or
EXTRA_INC += $(includedir)/freetype2

why shouldn't this work and be enough?

What would be the preferred of the two variables to use, actually?

Thanks - Riccardo


More information about the devel mailing list