[cairo] Problem to compile Cairo.
behdad at behdad.org
Sun Aug 16 05:31:18 UTC 2020
This sounds like a problem with your setup, not a problem with Cairo.
On Sat, Aug 15, 2020, 5:46 PM alexandre schenberg <ale.schenberg at yandex.com>
> Hello, I was trying to to compile Cairo 1.26 and faced two problems. First
> configure was not detecting the directory of lib PNG through the
> environment variables png_CFLAGS and png_LIBS. I was able to circumvent it
> through the use of PKG_CONFIG_PATH, but would like to know why they didn't
> work. Anyway, during the compiling I am suddenly faced with countless error
> messages, many of them being like: "SOMETHING undeclared" "SOMETHING has no
> member SOMETHING2". Moving to the beginning of the error messages I see
> these two lines: "./cairo-ft.h:46:35: error: fontconfig/fontconfig.h: No
> such file or directory
> ./cairo-ft.h:47:22: error: ft2build.h: No such file or directory"
> Nonetheless what is being said, I DO have these files. fontconfig.h is in:
> and "ft2build.h" is in:
> Both files should be detected during the configure phase, because I tell it
> about them with:
> 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?
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo