[cairo] Cairo cross compile
Giriprasad Deviprasad
g_pr21 at yahoo.in
Tue Sep 14 05:34:38 PDT 2010
Hi,
Following is the result of pkg-config :
pkg-config --libs freetype2
-lfreetype
I am using :
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 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
--with-freetype=/opt/asdlab/freetype
--with-fontconfig=/opt/asdlab/fontconfig
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
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,
D.Giriprasad
> 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?
Maarten
-------------- 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