From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.mlbassoc.com ([64.234.241.98] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QLaJP-0001VM-Ge for openembedded-devel@lists.openembedded.org; Sun, 15 May 2011 14:20:43 +0200 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 53ECA1660197; Sun, 15 May 2011 06:17:53 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2-r929478 (2010-03-31) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2-r929478 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id AFCE51660197; Sun, 15 May 2011 06:17:51 -0600 (MDT) Message-ID: <4DCFC46F.3030300@mlbassoc.com> Date: Sun, 15 May 2011 06:17:51 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 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> <4DCF059F.5080403@atmel.com> In-Reply-To: <4DCF059F.5080403@atmel.com> Cc: Ulf Samuelsson 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: Sun, 15 May 2011 12:20:43 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 05/14/2011 04:43 PM, Ulf Samuelsson wrote: > >> 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/4217f358fb00b5b7f1dfbd1ce5f4afa4= f64b0bb0/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 comp= letes. >>> >>> `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 hav= e >> to use the glob. >> > > How about using: > dirname `find /usr/lib/*-linux-gnu/libc.so` That's no different than just the glob --=20 ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------