All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Cc: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Subject: Re: perl-native fails on Ubuntu 11.04
Date: Sun, 15 May 2011 11:41:27 -0600	[thread overview]
Message-ID: <4DD01047.6000007@mlbassoc.com> (raw)
In-Reply-To: <4DCFD20A.9090907@atmel.com>

On 05/15/2011 07:15 AM, Ulf Samuelsson wrote:
> 2011-05-15 14:17, Gary Thomas skrev:
>> On 05/14/2011 04:43 PM, Ulf Samuelsson wrote:
>>>
>>>> Skickat: lö 2011-05-14 16:32
>>>> Till: openembedded-devel@lists.openembedded.org
>>>> Ämne: 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ø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.
>>>>
>>>
>>> How about using:
>>> dirname `find /usr/lib/*-linux-gnu/libc.so`
>>
>> That's no different than just the glob
>>
>
> I may be mistaken, but I think that with the glob,
> glibpth will contain "/usr/lib/*-linux-gnu"
> with the proposed patch,
> glibpth will contain (on my machine) "/usr/lib/i386-linux-gnu"
>
> Not a big difference, I admit, but I think the latter is a tad more efficient.

No, the glob will be expanded in the assignment (globs inside of "" strings
are expanded by the shell)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



  reply	other threads:[~2011-05-15 17:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  9:50 perl-native fails on Ubuntu 11.04 Søren Holm
2011-05-05 10:57 ` Gary Thomas
2011-05-05 10:58   ` Graeme Gregory
2011-05-14  8:39   ` Ulf Samuelsson
2011-05-14 14:32     ` Tom Rini
2011-05-14 20:56       ` Samuelsson, Ulf
2011-05-14 22:43         ` Ulf Samuelsson
2011-05-15 12:17           ` Gary Thomas
2011-05-15 13:15             ` Ulf Samuelsson
2011-05-15 17:41               ` Gary Thomas [this message]
2011-05-17  8:33                 ` Søren Holm
2011-05-17  9:51                   ` Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DD01047.6000007@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=ulf.samuelsson@atmel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.