+++ Andree Tago [2013-06-07 10:01 +0100]: > hello, > i want cross-compile pango for arm , 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
What are you building on? Squeeze, wheezy, unstable? You don't seem to be using any debian mechanisms or toolchains here, which will probably make your life harder (although it should also be possible to make work). Do you need a particular upstream version of pango or just the current packaged version? Do you need a particualr toolchain for some shiny new support or will just 'one that works' do? Have you read: https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossbuildingQuickStart which is intended to tell people which tools to try and use for what purpose on which debian-based system (although it no doubt needs an update again) I know that one can already cross-build (packaged) pango for debian, but only with a build-profile aware set of tools (or otherwise nobbling the build-deps on gobject-introspection and gir) (patch: http://people.debian.org/~wookey/bootstrap/patches/profiles/packages/pango1.0_1.30.1-1ubuntu1-profile-cross.patch ) In theory you should be able to to do the following, but that needs a multiarch perl which is only available from my bootstrap repo currently and I haven't done an armel version yet: dpkg --add-architecutre armel apt-get buildd-dep -a armel pango DEB_BUILD_OPTIONS=nocheck CONFIG_SITE=/etc/dpkg-cross/cross-config.armel dpkg-buildpackage -aarmel And there are probably multiarch packages missing in unstable still. So in debian I'd try skipping multiarch for now and using xapt to install build-deps: Get a crosstoolchain from emdebian: http://wiki.debian.org/EmdebianToolchain install dpkg-cross, and add links: ln -s gcc-<ver>-arm-linux-gnueabi gcc-arm-linux-gnueabi ln -s g++-<ver>-arm-linux-gnueabi g++-arm-linux-gnueabi ln -s /usr/share/pkg-config-crosswrapper pkg-config-arm-linux-gnueabi install build-deps: xapt -a armel pango build package: DEB_BUILD_OPTIONS=nocheck CONFIG_SITE=/etc/dpkg-cross/cross-config.armel dpkg-buildpackage -aarmel gobject-introspection will still need nobbling. > .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 How did you get your build-deps (headers/libs) installed? Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130607111342.gu14...@stoneboat.aleph1.co.uk