<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br>
<br>
Following is the result of pkg-config :<br>
pkg-config --libs freetype2<br>
-lfreetype <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">> You should be using PKG_CONFIG_PATH.<br>> To check whether you have set it up correctly, you can call pkg-config<br>> manually. Something like<br>> pkg-config --libs freetype2<br>> should give meaningful results.<br><br>Have you tested this?<br><br>Maarten<br></div></blockquote></td></tr></table><br>