[oe] automake-1.11 vs. host $perl_threads

Andrea Adami andrea.adami at gmail.com
Mon Nov 22 23:46:00 UTC 2010


Hi,

in log.do_configure of automake-native-1.11.1-r3.1 I see

checking for perl... /usr/bin/perl
checking whether /usr/bin/perl supports ithreads... yes

In fact I have in my
 /oe/build/tmp/sysroots/i686-linux/usr/share/automake-1.11/Automake/Config.pm

our $APIVERSION = '1.11';
our $PACKAGE = 'automake';
our $VERSION = '1.11.1';
our $libdir = '/oe/build/tmp/sysroots/i686-linux/usr/share/automake-1.11';
our $perl_threads = 1;

Well, that seems just fine but since some days building on a Gentoo
host, whose perl is compiled without threads support (no 'ithreads'
use flag) I trigger a nasty error:

NOTE: package libx11-1_1.4.0-r9.0: task do_configure: Started
ERROR: Logfile of failure stored in:
/oe/build/tmp/work/armv5te-angstrom-linux-gnueabi/libx11-1_1.4.0-r9.0/temp/log.do_configure.4482
Log data follows:
| This Perl not built to support threads
| Compilation failed in require at
/oe/build/tmp/sysroots/i686-linux/usr/bin/automake line 139.
| BEGIN failed--compilation aborted at
/oe/build/tmp/sysroots/i686-linux/usr/bin/automake line 144.
| This Perl not built to support threads
| Compilation failed in require at
/oe/build/tmp/sysroots/i686-linux/usr/bin/automake line 139.
| BEGIN failed--compilation aborted at
/oe/build/tmp/sysroots/i686-linux/usr/bin/automake line 144.
NOTE: package libx11-1_1.4.0-r9.0: task do_configure: Failed

Note that in the host   /usr/share/automake-1.11/Automake/Config.pm I have

our $perl_threads = 0;

So it seems to me that something is getting mixed between perl-native
and perl on host :/

Any idea?

Regards

Andrea




More information about the Openembedded-devel mailing list