[OE-core] Perl autoconf issues - possibly related to previous toolchain issues

Laurentiu Palcu laurentiu.palcu at intel.com
Mon Sep 24 09:41:06 UTC 2012


On 09/24/2012 12:19 PM, Jack Mitchell wrote:
> I am trying to convert my application to use the autotools suite in 
> order to get a bit of control over my build. However I am hitting an 
> issue when trying to run autoreconf -i, I believe it is to do with 
> toolchain issues again...
> 
> configure.ac:17: the top level
> configure.ac:7: installing './install-sh'
> configure.ac:7: installing './missing'
> src/Makefile.am: installing './depcomp'
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>      LANGUAGE = (unset),
>      LC_ALL = (unset),
>      LANG = "en_GB.utf8"
>      are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Can't locate strict.pm in @INC (@INC contains: 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/share/autoconf 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.14.2/ 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/site_perl/5.14.2 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.14.2/ 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/vendor_perl/5.14.2 
> /home/jack/Projects/poky-r0005/R0005/tmp/sysroots/x86_64-nativesdk-pokysdk-linux/usr/lib/perl/5.14.2/ 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.14.2 
> /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/perl/5.14.2 
> .) at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/share/autoconf/Autom4te/Channels.pm 
> line 70.
> BEGIN failed--compilation aborted at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/share/autoconf/Autom4te/Channels.pm 
> line 70.
> Compilation failed in require at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/share/autoconf/Autom4te/ChannelDefs.pm 
> line 19.
> BEGIN failed--compilation aborted at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/share/autoconf/Autom4te/ChannelDefs.pm 
> line 19.
> Compilation failed in require at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/gnu-configize 
> line 40.
> BEGIN failed--compilation aborted at 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/gnu-configize 
> line 40.
> autoreconf: gnu-configize failed with exit status: 2
> 
> As you can see it is looking in /opt/poky again and I believe it 
> shouldn't be.

There's already an issue reported in bugzilla about it:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=3100

This might be a relocation issue indeed. We're investigating it. The
toolchain issue, however, must be related to your environment not being
set up properly... Could you try to build the test app from bug #3156
using eclipse and see if it builds? Theoretically, it should, because it
does when you build it manually.

Thanks,
Laurentiu

> 
> Regards,
> Jack.
> 




More information about the Openembedded-core mailing list