[oe] perl-native fails on Ubuntu 11.04

Ulf Samuelsson ulf.samuelsson at atmel.com
Sat May 14 08:39:43 UTC 2011


2011-05-05 12:57, Gary Thomas skrev:
> On 05/05/2011 03:50 AM, Søren Holm wrote:
>> Please apply this patch to make perl-native build on Ubuntu 11.04
>>
>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch 
>>
>
> This patch only works for x86_64 systems.  A corrected version
> replaces `uname -m` with * in
>   ++test -f /usr/lib/*-linux-gnu/libc.so && 
> glibpth="/usr/lib/*-linux-gnu $glibpth"
>


Yes ,  Just installed Ubuntu 11.04 on a machine and I tried that patch 
and failed.
'uname -m`  returns i686  but the library is in i386-linux-gnu
I symlinked i686-linux-gnu to i386-linux-gnu, and then the build completes.

`uname -i`  will return i386 so that is an alternative as well.


Best Regards
Ulf Samuelsson






More information about the Openembedded-devel mailing list