On 2 December 2010 10:43, Graham Gower <[email protected]> wrote: > Fixes problems seen with micro-uclibc. > > NOTE: make -j 12 > CDPATH="${ZSH_VERSION+.}:" && cd . && > perllibdir="/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/automake-1.11.1-r3.2/automake-1.11.1/lib:./lib" > > "/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/automake-1.11.1-r3.2/automake-1.11.1/aclocal" > --acdir=m4 -I m4 > /bin/sh: > /mnt/oe/tmp/work/mipsel-oe-linux-uclibc/automake-1.11.1-r3.2/automake-1.11.1/aclocal: > No such file or directory > make: *** [aclocal.m4] Error 127 > FATAL: oe_runmake failed > > Signed-off-by: Graham Gower <[email protected]> > --- > recipes/automake/automake.inc | 31 ++++++++++++++++++++++++++++++- > 1 files changed, 30 insertions(+), 1 deletions(-) > > diff --git a/recipes/automake/automake.inc b/recipes/automake/automake.inc > index e378c04..743c140 100644 > --- a/recipes/automake/automake.inc > +++ b/recipes/automake/automake.inc > @@ -29,17 +29,46 @@ RDEPENDS_automake += "\ > perl-module-text-parsewords \ > perl-module-vars " > SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2;name=automake" > -INC_PR = "r3" > +INC_PR = "r4" > AUTOMAKE_API = "${@".".join(bb.data.getVar("PV",d,1).split(".")[0:2])}" > > inherit autotools > > FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" > > +dosubst () { > + ver=`echo "${PV}" | sed -e 's/^\([[0-9]]*\.[[0-9]]*[[a-z]]*\).*$/\1/'` > + rm -f $2 > + in=`echo $1 | sed 's,^.*/,,'` > + sed -e "s...@apiversion@%${ver}%g" \ > + -e "s...@package@%${PN}%g" \ > + -e "s...@perl@%${STAGING_BINDIR_NATIVE}/perl%g" \
This appears to introduce problems when doing a from scratch build. Automake-native cannot find the perl binary. Adding perl-native to DEPENDS creates a circular dependency. Not to mention a whole lot of shebang lines pointing to /mnt/oe/tmp/sysroots/x86_64-linux/bin/perl get inserted into the cross automake scripts. Anyone else got a bright idea how to resolve this? -Graham _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
