[cairo] Problem to compile Cairo.

Dave Yeo dave.r.yeo at gmail.com
Sun Aug 16 05:58:27 UTC 2020


On 08/15/20 04:39 PM, alexandre schenberg wrote:
> DUring the configure both Freetype and Fontconfig are detected, although
> some specific files are not, as can be seen by:
>
> "checking for FONTCONFIG... yes
> checking for FcFini... no
> checking for FREETYPE... yes
> checking whether cairo's FreeType font backend could be enabled... yes
> configure: creating src/cairo-ft.pc
> checking for FT_Bitmap_Size.y_ppem... no
> checking for FT_GlyphSlot_Embolden... no
> checking for FT_Load_Sfnt_Table... no
> "
>
> But in the end, this appears: "the following font backends:
> FreeType: yes
> "
>
> So, why isn't make finding these two basic headers that apparently are
> detected by configure? And how can I solve it?

Did you review config.log to see the actual error? My guess is that the 
build is not finding the freetype and/or fontconfig libraries. Did you 
build them? Install them somewhere? Can configure find them, perhaps by 
passing the right -L flag?
Dave


More information about the cairo mailing list