From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QLNvY-0003ym-0y for openembedded-devel@lists.openembedded.org; Sun, 15 May 2011 01:07:16 +0200 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 9C054EA358 for ; Sun, 15 May 2011 00:43:45 +0200 (CEST) X-SENDER-IP: [83.227.57.42] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAlAPAEz01T4zkqPGdsb2JhbAAMmASODwEBAQE3iSK+EYYZBI5EgU2Odw X-IronPort-AV: E=Sophos;i="4.64,368,1301868000"; d="scan'208";a="11246847" Received: from c-2a39e353.011-39-73746f12.cust.bredbandsbolaget.se (HELO [10.175.196.247]) ([83.227.57.42]) by ipb3.telenor.se with ESMTP; 15 May 2011 00:43:45 +0200 Message-ID: <4DCF059F.5080403@atmel.com> Date: Sun, 15 May 2011 00:43:43 +0200 From: Ulf Samuelsson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <201105051150.06842.sgh@sgh.dk> <4DC2827E.9020801@mlbassoc.com> <4DCE3FCF.4050706@atmel.com> <4DCE9282.5080603@mentor.com> In-Reply-To: Subject: Re: perl-native fails on Ubuntu 11.04 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 23:07:16 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable > Skickat: l=F6 2011-05-14 16:32 > Till: openembedded-devel@lists.openembedded.org > =C4mne: Re: [oe] perl-native fails on Ubuntu 11.04 > > 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=F8ren Holm wrote: >>>> Please apply this patch to make perl-native build on Ubuntu 11.04 >>>> >>>> https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f= 64b0bb0/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=3D"/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 compl= etes. >> >> `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. > How about using: dirname `find /usr/lib/*-linux-gnu/libc.so` Best Regards Ulf Samuelsson