<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br> I am using :<br> export PKG_CONFIG_PATH=/opt/asdlab/freetype/lib/pkgconfig:/opt/asdlab/fontconfig/lib/pkgconfig:/opt/asdlab/pixman/lib/pkgconfig/:/opt/asdlab/glib/lib/pkgconfig<br>export PKG_CONFIG="/usr/bin/pkg-config"<br>export CXX=arm-none-linux-gnueabi-g++<br><br>./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 --with-freetype=/opt/asdlab/freetype --with-fontconfig=/opt/asdlab/fontconfig<br><br>The final few lines of output from configure is :<br>checking for cairo's PNG backend...<br>checking for png... yes<br>checking whether cairo's PNG backend could be enabled... yes<br>configure: creating src/cairo-png.pc<br>checking for cairo's FreeType font backend...<br>checking for FONTCONFIG... yes<br>checking for FcFini...
no<br>no<br>checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig)<br>configure: error: requested FreeType font backend could not be enabled<br><br>Still cairo is not able to sense the installed freetype or fontconfig.<br><br>Thanks & Regards,<br>D.Giriprasad<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div class="plainMail">> Now when I try to cross compile cairo, configure gives the following error:<br>> configure: error: Cairo requires at least one font backend.<br>> Please install freetype and fontconfig, then try again:<br><br>If they're using pkgconfig, are you using a cross compile setup of pkgconfig?<br><br><a href="http://clintonroy.wordpress.com/2008/10/17/pkg-config-for-cross-compiling/" target="_blank">http://clintonroy.wordpress.com/2008/10/17/pkg-config-for-cross-compiling/</a><br><br>Which may well be out of date by
now, I'm not sure.<br></div></blockquote></td></tr></table><br>