[cairo] Cairo cross compile
Giriprasad Deviprasad
g_pr21 at yahoo.in
Sun Sep 12 00:46:12 PDT 2010
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/"
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100912/9d6be6d4/attachment.html>
More information about the cairo
mailing list