On 24/09/12 10:41, Laurentiu Palcu wrote:
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.

Yes that is possible although it was building fine (and is still building fine) with the old toolchain in /opt. Hence my reasoning to start converting to autotools in order to take the Eclipse 'automagic' out of the equation ;)


Thanks,
Laurentiu

Regards,
Jack.

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


--

  Jack Mitchell (j...@embed.me.uk)
  Embedded Systems Engineer
  http://www.embed.me.uk

--


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to