[oe] perl-native fails on Ubuntu 11.04

Tom Rini tom_rini at mentor.com
Sat May 14 14:32:34 UTC 2011


On 05/14/2011 01:39 AM, Ulf Samuelsson wrote:
> 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.

On my x86_64 ubuntu 10.04 box it returns unknown, so I think we'll have
to use the glob.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list