freetype/ fontconfig issues
Dagobert Michelsen
dam at opencsw.org
Tue Apr 25 10:49:09 CEST 2017
Hi Riccardo,
Am 25.04.2017 um 10:06 schrieb Riccardo Mottola via devel <devel at lists.opencsw.org>:
>
> 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?
I would use
EXTRA_CPPFLAGS += -I$(includedir)/freetype2
EXTRA_INC is super-old crap I inherited, I suggest not to use it.
Adding explicit to CONFIGURE is ugly and should only be done in an emergency ;-)
Best regrads
— Dago
>
> Thanks - Riccardo
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20170425/58d6f53b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20170425/58d6f53b/attachment-0001.asc>
More information about the devel
mailing list