[cairo] Cairo cross compile

Maarten Bosmans mkbosmans at gmail.com
Sun Sep 12 01:11:53 PDT 2010

2010/9/12 Giriprasad Deviprasad <g_pr21 at yahoo.in>
> Thanks for information.
> I have made env variables as :
> export LD_LIBRARY_PATH=/opt/asdlab/fontconfig/lib/:opt/asdlab/freetype/lib/:/opt/asdlab/atk/lib/:/opt/asdlab/glib/lib/:/opt/asdlab/pixman/lib/:/opt/asdlab/libxml2/lib/
> export PKG_CONFIG_PATH=/opt/asdlab/freetype/lib/pkgconfig:/opt/asdlab/fontconfig/lib/pkgconfig:/opt/asdlab/pixman/lib/pkgconfig/:/opt/asdlab/glib/lib/pkgconfig
> export FONTCONFIG_LIBS="/opt/asdlab/fontconfig/lib/libfontconfig.a"
> export FONTCONFIG_CFLAGS=-I/opt/asdlab/fontconfig/include
> export FREETYPE_LIBS="/opt/asdlab/freetype/lib/libfreetype.a"
> export FREETYPE_CFLAGS="-I/opt/asdlab/freetype/include -I/opt/asdlab/freetype/include/freetype2/"

You don't need these last four, as they override the values found by pkg-config.

> And when I now configure, it gives the same error:
> configure: error: Cairo requires at least one font backend.
> Regards
> You should be using PKG_CONFIG_PATH.
> To check whether you have set it up correctly, you can call pkg-config
> manually. Something like
>   pkg-config --libs freetype2
> should give meaningful results.

Have you tested this?


More information about the cairo mailing list