Op 18 mei 2011, om 20:23 heeft Saul Wold het volgende geschreven: > From: Saul Wold <[email protected]> > > This ensures you look up the symbolic link to get the full path > > Signed-off-by: Saul Wold <[email protected]> > --- > meta/classes/utils.bbclass | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass > index 6bcaf86..a789d41 100644 > --- a/meta/classes/utils.bbclass > +++ b/meta/classes/utils.bbclass > @@ -312,7 +312,8 @@ create_wrapper () { > cmdname=`basename $cmd`.real > cat <<END >$cmd > #!/bin/sh > -exec env $@ \`dirname \$0\`/$cmdname "\$@" > +realpath=`readlink -fn \$0` > +exec env $@ \`dirname \$realpath\`/$cmdname "\$@" > END > chmod +x $cmd > }
This patch makes the perl problem come out a lot earlier: | env: /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/perl-native-5.12.3-r2/temp/perl.real: No such file or directory | configure: error: Perl 5.005_03 or better is required | + bbfatal 'oe_runconf failed' | + echo 'ERROR: oe_runconf failed' | ERROR: oe_runconf failed | + exit 1 | ERROR: Function 'do_configure' failed (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/autoconf-native-2.65-r2/temp/log.do_configure.16420 for further information) _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
