Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: openembedded-core@lists.openembedded.org
Subject: Re: Perl autoconf issues - possibly related to previous toolchain issues
Date: Mon, 24 Sep 2012 10:55:43 +0100	[thread overview]
Message-ID: <50602E1F.7060206@communistcode.co.uk> (raw)
In-Reply-To: <50602AB2.70409@intel.com>

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 (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




      reply	other threads:[~2012-09-24 10:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24  9:19 Perl autoconf issues - possibly related to previous toolchain issues Jack Mitchell
2012-09-24  9:41 ` Laurentiu Palcu
2012-09-24  9:55   ` Jack Mitchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50602E1F.7060206@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox