On Sat, Sep 11, 2010 at 5:08 AM, Giriprasad Deviprasad <g_pr21@xxxxxxxx> wrote:
How are you trying to compile Cairo? It looks like fontconfig and freetype are both in a /opt/ directory, did you add these to your $LD_LIBRARY_PATH or are you passing in the directories with the -L option to the gcc compiler?
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@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
Danny G