Pango installation fails due to problems with backends
when installing Pango on a RHEL I get the following messages during the configure-phase:
checking for HARFBUZZ... no
checking for CoreText availability... no
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
A glance at config.log reveals that a missing quartz-cairo-font package is probably the reason:
configure:18305: checking for CAIRO
configure:18312: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
configure:18315: $? = 0
configure:18329: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
configure:18332: $? = 0
configure:18372: result: yes
configure:18428: $PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required"
Package cairo-quartz-font was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-quartz-font.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-quartz-font' found
configure:18431: $? = 1
configure:18446: checking which cairo font backends could be used
configure:18452: result: none
configure:18454: Disabling cairo support
configure:18605: error: *** Could not enable any backends.
(which is a little bit surprising to me, since I assumed that quartz is disabled by default).
The following command lines were used for the installation:
(with $PRJ being a local project directory)
I tried this with three different versions of pango (1.31.2, 1.32.5, 1.32.6) since I read somewhere that the error messages indicate a particular problem with the most recent version (1.32.6).
Cairo is of version 1.12.8.
Can somebody help with this?