Thanks for pointers. The details as below: pkg-config --libs freetype2 -L/opt/asdlab/freetype//lib -lfreetype
pkg-config --libs fontconfig -L/opt/asdlab/fontconfig//lib -lfontconfig export PKG_CONFIG_PATH=/opt/asdlab/freetype/lib/pkgconfig:/opt/asdlab/fontconfig/lib/pkgconfig:/opt/asdlab/pixman/lib/pkgconfig/:/opt/asdlab/glib/lib/pkgconfig ./configure --prefix=/opt/asdlab/cairo/ --host=arm --build=i686-linux --enable-ps=no --enable-pdf=no --enable-win32-font=no --enable-win32=no --enable-quartz-font=no --enable-quartz=no --enable-xlib-xrender=no --enable-xlib=no --enable-freetype=yes --with-freetype=/opt/asdlab/freetype --with-fontconfig=/opt/asdlab/fontconfig --enable-fontconfig=yes 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 no checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig) configure: error: requested FreeType font backend could not be enabled Regards, D.Giriprasad Hmm... are you using pkg-config? What are the outputs of pkg-config --libs freetype2 pkg-config --libs fontconfig This is the program that the configure script uses to find out if the installed needed programs are the correct versions and where exactly they reside. This can be overridden by passing arguments into the configure script, but pkg-config is intended to make it a lot easier. It looks like you're installing packages into /opt/asdlab/ in their own subdirectory, so you'll probably have to modify the $PKG_CONFIG_PATH environment variable to point to each package's lib directory. Let me know if this helps at all Danny G
