[cairo] Cairo cross compile

Giriprasad Deviprasad g_pr21 at yahoo.in
Tue Sep 14 05:34:38 PDT 2010


Following is the result of pkg-config :

pkg-config --libs freetype2


 I am using :


export PKG_CONFIG="/usr/bin/pkg-config"

export CXX=arm-none-linux-gnueabi-g++

./configure --prefix=/opt/asdlab/cairo/ --host=arm --build=i686-linux
--enable-ps=no --enable-pdf=no --enable-win32-font=no
--enable-win32=no  --enable-freetype=yes

The final few lines of output from configure is :

checking for cairo's PNG backend...

checking for png... yes

checking whether cairo's PNG backend could be enabled... yes

configure: creating src/cairo-png.pc

checking for cairo's FreeType font backend...

checking for FONTCONFIG... yes

checking for FcFini... no


checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig)

configure: error: requested FreeType font backend could not be enabled

Still cairo is not able to sense the installed freetype or fontconfig.

Thanks & 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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100914/efe03c52/attachment-0001.htm>

More information about the cairo mailing list