All of lore.kernel.org
 help / color / mirror / Atom feed
* perl-native fails to build on Ubuntu 11.04
@ 2011-04-28 22:07 Gary Thomas
  2011-04-29 14:54 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2011-04-28 22:07 UTC (permalink / raw)
  To: Poky Project

Trying out the just released [today] Ubuntu 11.04 as a build host.
perl-native fails (either 5.12.2 or 5.12.3)

Logs are at:
   http://www.mlbassoc.com/poky/perl-native.do_configure
   http://www.mlbassoc.com/poky/perl-native.do_compile

Any ideas how to fix this?

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: perl-native fails to build on Ubuntu 11.04
  2011-04-28 22:07 perl-native fails to build on Ubuntu 11.04 Gary Thomas
@ 2011-04-29 14:54 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2011-04-29 14:54 UTC (permalink / raw)
  To: Poky Project

On 04/28/2011 04:07 PM, Gary Thomas wrote:
> Trying out the just released [today] Ubuntu 11.04 as a build host.
> perl-native fails (either 5.12.2 or 5.12.3)
>
> Logs are at:
> http://www.mlbassoc.com/poky/perl-native.do_configure
> http://www.mlbassoc.com/poky/perl-native.do_compile
>
> Any ideas how to fix this?

The change previously imported from Khem Raj almost works, but only
on his x86_64 system.  It turns out that on x86 (not 64) systems,
uname -m is i686 but the libraries in question are in /usr/lib/i386-linux-gnu

This small change to his patch works for me on Ubuntu/x86 11.04

diff --git a/meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch b/meta/recipes-devtools/perl/perl-5.12.3/Con
index ef2be3d..9625b0b 100644
--- a/meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch
@@ -11,7 +11,7 @@ Index: perl-5.12.3/Configure
  -glibpth="/lib /usr/lib $xlibpth"
  +glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
   glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
-+test -f /usr/lib/`uname -m`-linux-gnu/libc.so && glibpth="/usr/lib/`uname -m`-linux-gnu $glibpth"
++test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth"
   test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
   test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
   test -d /usr/lib64         && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-29 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 22:07 perl-native fails to build on Ubuntu 11.04 Gary Thomas
2011-04-29 14:54 ` Gary Thomas

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.