[PLUG] Cairo cross compile

Manas Alekar maalekar at gmail.com
Mon Sep 13 01:00:57 IST 2010


Looks like the configure scripts are not picking up the freetype you
compiled. Most likely because you installed them into some "root" filesystem
which you did not specify in configure for GTK+.

Manas

On Sat, Sep 11, 2010 at 4:11 AM, Giriprasad Deviprasad <g_pr21 at yahoo.in>wrote:

> 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:
>
> 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?
>
> Thanks & Regards,
> D.Giriprasad
>
> _______________________________________
> Pune GNU/Linux Users Group Mailing List
>



More information about the Plug-mail mailing list