[cairo] Cairo cross compile
Maarten Bosmans
mkbosmans at gmail.com
Sat Sep 11 04:18:46 PDT 2010
2010/9/11 Giriprasad Deviprasad <g_pr21 at yahoo.in>
> Hi All,
>
> I am trying to cross compile GTK+ in hawkboard (www.hawkboard.org).
> I have already cross compiled the following successfully for hawkboard:
> atk fontconfig freetype glib libxml2 pixman
>
> Now when I try to cross compile cairo, configure gives the following error:
> configure: error: Cairo requires at least one font backend.
> Please install freetype and fontconfig, then try again:
How did you invoke configure?
> But, I have already installed both freetype and fontconfig for this architecture.
>
> ls -l /opt/asdlab/freetype/lib
> total 2640
> -rw-r--r-- 1 root root 2688158 2010-09-03 20:08 libfreetype.a
> -rwxr-xr-x 1 root root 764 2010-09-03 20:08 libfreetype.la
> drwxr-xr-x 2 root root 4096 2010-09-03 20:08 pkgconfig
>
> [root at localhost cairo-1.6.4]# ls -l /opt/asdlab/freetype/include
> total 8
> drwxr-xr-x 3 root root 4096 2010-09-03 20:08 freetype2
> -rw-r--r-- 1 root root 3890 2010-09-03 20:08 ft2build.h
>
> ls -l /opt/asdlab/fontconfig/lib/
> total 776
> -rw-r--r-- 1 root root 778546 2010-09-04 19:28 libfontconfig.a
> -rwxr-xr-x 1 root root 922 2010-09-04 19:28 libfontconfig.la
> drwxr-xr-x 2 root root 4096 2010-09-04 19:28 pkgconfig
>
> Any ideas why cairo is not cross compiling?
Did you point pkgconfig to the right directory?
in your case that would probably be something like
PKG_CONFIG_PATH=/opt/asdlab/freetype/lib/pkgconfig:/opt/asdlab/fontconfig/lib/pkgconfig
./configure
Why are you installing all the libraries in their on directory trees,
instead of using a common prefix for all the cross-compiled libraries
for one specific architecture?
> Thanks & Regards,
> D.Giriprasad
Maarten
More information about the cairo
mailing list