Re: cross-compilation pango
On Fri, Jun 07, 2013 at 10:01:05AM +0100, Andree Tago wrote:
> hello,
>
> i want cross-compile pango for amr , my configuration is :
>
> export
> FONTCONFIG_CFLAGS="-I/home/achouri/pfe/sortie/libpango/fontconfig/font/include"
> export
> FONTCONFIG_LIBS="-L/home/achouri/pfe/sortie/libpango/fontconfig/font/lib"
> export
> FREETYPE_CFLAGS="-I/home/achouri/pfe/sortie/libpango/freetype/include"
> export FREETYPE_LIBS="-L/home/achouri/pfe/sortie/libpango/freetype/include"
>
> ./configure --host=arm-cortex_a8-linux-gnueabi
> --prefix=/home/achouri/pfe/sortie/libpango/cairo --enable-win32-font=no
> --enable-win32=no --enable-ft=yes --enable-ps=no --enable-pdf=no
>
>
>
> when i run the command make i get this error:
>
>
> libtool: compile: arm-cortex_a8-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I..
> -I. -I/usr/include/pixman-1
> -I/home/achouri/pfe/sortie/libpango/freetype/include
> -I/home/achouri/pfe/sortie/libpango/fontconfig/font/include
> -I/usr/include/libpng12 -g -O2 -MT cairo-type1-subset.lo -MD -MP -MF
> .deps/cairo-type1-subset.Tpo -c cairo-type1-subset.c -fPIC -DPIC -o
> .libs/cairo-type1-subset.o
> In file included from cairo-ft.h:47,
> from cairo-ft-private.h:40,
> from cairo-type1-subset.c:54:
> /home/achouri/pfe/sortie/libpango/freetype/include/ft2build.h:56:38: error:
> freetype/config/ftheader.h: No such file or directory
Fix that first. It probably caused the rest of the errors.
> help me
Debian in general does NOT cross compile. Cross compiling is error prone
and often makefiles are not set up for it, and anything using the horrors
of autoconf and company is just about doomed to failure when attempting
to cross compile.
--
Len Sorensen
Reply to: