#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Pango installation fails due to problems with backends


    Pango installation fails due to problems with backends

    Hello folks,

    when installing Pango on a RHEL I get the following messages during the configure-phase:

    Code:
    checking for HARFBUZZ... no
    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:

    Code:
    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:

    Code:
    export PKG_CONFIG_PATH=$PRJ/gtk+/glib/lib/pkgconfig:$PRJ/gtk+/cairo/lib/pkgconfig:$PRJ/gtk+/pixman-0.22.0/lib/pkgconfig:$PRJ/gtk+/freetype/lib/pkgconfig:$PRJ/gtk+/fontconfig/lib/pkgconfig
    ./configure --prefix=$PRJ/gtk+/pango-1.31.2
    (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?

    Cheers


    Bloehdian
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    I don't know about RHEL but pango is available to install from repos using yum in Fedora, which would take care of dependencies for you. If you're compiling your own, maybe you have to specify some paths to dependencies, RedHat has their own scheme for locating files, often not the same as default compile options. Just guessing, I don't compile stuff myself.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0
    Found the reason for the problem:

    The missing harfbuzz inhibits loading of the backends. Typical autohell problem from my point of view. Harfbuzz is obviously mandatory for building Pango, but configure does not terminate when it does not detect harfbuzz. Strange!

IMN logo majestic logo threadwatch logo seochat tools logo