* Perl autoconf issues - possibly related to previous toolchain issues
@ 2012-09-24 9:19 Jack Mitchell
2012-09-24 9:41 ` Laurentiu Palcu
0 siblings, 1 reply; 3+ messages in thread
From: Jack Mitchell @ 2012-09-24 9:19 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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.
Regards,
Jack.
--
Jack Mitchell (jack@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Perl autoconf issues - possibly related to previous toolchain issues
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
0 siblings, 1 reply; 3+ messages in thread
From: Laurentiu Palcu @ 2012-09-24 9:41 UTC (permalink / raw)
To: openembedded-core
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.
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Perl autoconf issues - possibly related to previous toolchain issues
2012-09-24 9:41 ` Laurentiu Palcu
@ 2012-09-24 9:55 ` Jack Mitchell
0 siblings, 0 replies; 3+ messages in thread
From: Jack Mitchell @ 2012-09-24 9:55 UTC (permalink / raw)
To: openembedded-core
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
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-24 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox