perl-native fails on Ubuntu 11.04
Please apply this patch to make perl-native build on Ubuntu 11.04
-
Søren Holm
Quoted 3 lines · Søren Holm
Please apply this patch to make perl-native build on Ubuntu 11.04
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"
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 11 lines · Gary Thomas
Quoted 4 lines · Søren Holm
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * in
++test -f/usr/lib/*-linux-gnu/libc.so&&
glibpth="/usr/lib/*-linux-gnu $glibpth"
Probably best to merge the fix from oe-core where its had testing.
Graeme
2011-05-05 12:57, Gary Thomas skrev:
Quoted 11 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * 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.
Best Regards
Ulf Samuelsson
Quoted 14 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 11 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * in
++test -f/usr/lib/*-linux-gnu/libc.so&&
glibpth="/usr/lib/*-linux-gnu $glibpth"
Quoted 6 lines
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 -iwill 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.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Maybe try that if the others fail?
Best Regards
Ulf Samuelsson
-----Ursprungligt meddelande-----
Från: [email protected] genom Tom Rini
Skickat: lö 2011-05-14 16:32
Till: [email protected]
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04
Quoted 14 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 11 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * in
++test -f/usr/lib/*-linux-gnu/libc.so&&
glibpth="/usr/lib/*-linux-gnu $glibpth"
Quoted 6 lines
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 -iwill 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.
Signature · 7 lines
Tom Rini Mentor Graphics Corporation _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 18 lines
Skickat: lö 2011-05-14 16:32
Till: [email protected]
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04Quoted 12 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 10 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * in
++test -f /usr/lib/*-linux-gnu/libc.so&&
glibpth="/usr/lib/*-linux-gnu $glibpth"
Quoted 9 lines
Quoted 6 lines
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 -iwill return i386 so that is an alternative as well.On my
x86_64ubuntu 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
Quoted 23 lines · Ulf Samuelsson
Quoted 23 lines
Skickat: lö 2011-05-14 16:32
Till: [email protected]
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04Quoted 17 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 10 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * 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.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
uname -iwill return i386 so that is an alternative as well.On my
x86_64ubuntu 10.04 box it returns unknown, so I think we'll have to use the glob.How about using:
dirnamefind /usr/lib/*-linux-gnu/libc.so
That's no different than just the glob
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
2011-05-15 14:17, Gary Thomas skrev:
Quoted 26 lines · Ulf Samuelsson
Quoted 25 lines
Quoted 25 lines
Skickat: lö 2011-05-14 16:32
Till: [email protected]
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04Quoted 19 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 11 lines · Søren Holm
Quoted 5 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * 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 -iwill return i386 so that is an alternative as well.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
On my
x86_64ubuntu 10.04 box it returns unknown, so I think we'll have to use the glob.How about using:
dirnamefind /usr/lib/*-linux-gnu/libc.soThat'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.
BR
Ulf Samuelsson
Quoted 36 lines · Ulf Samuelsson
2011-05-15 14:17, Gary Thomas skrev:
Quoted 25 lines · Ulf Samuelsson
Quoted 24 lines
Quoted 24 lines
Skickat: lö 2011-05-14 16:32
Till: [email protected]
Ämne: Re: [oe] perl-native fails on Ubuntu 11.04Quoted 18 lines · Ulf Samuelsson
2011-05-05 12:57, Gary Thomas skrev:
Quoted 10 lines · Søren Holm
Quoted 4 lines
Please apply this patch to make perl-native build on Ubuntu 11.04
This patch only works for
x86_64systems. A corrected version replacesuname -mwith * 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 -iwill return i386 so that is an alternative as well.Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
On my
x86_64ubuntu 10.04 box it returns unknown, so I think we'll have to use the glob.How about using:
dirnamefind /usr/lib/*-linux-gnu/libc.soThat's no different than just the glob
Quoted 6 lines
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)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Søndag 15 maj 2011 19:41:27 skrev Gary Thomas:
Quoted 4 lines
No, the glob will be expanded in the assignment (globs inside of "" strings are expanded by the shell)
This is still not fixed. I have the change from https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
running and it works great. Why do we not apply that?
Signature · 1 line
Søren Holm
Quoted 5 lines · Søren Holm
Søndag 15 maj 2011 19:41:27 skrev Gary Thomas:
Quoted 2 lines
No, the glob will be expanded in the assignment (globs inside of "" strings are expanded by the shell)
This is still not fixed. I have the change from https://gist.github.com/raw/925006/4217f358fb00b5b7f1dfbd1ce5f4afa4f64b0bb0/0001-perl-native-multilib-patch-for-ubuntu-11.04.patch
running and it works great. Why do we not apply that?
Good question.
Although we should use the glob-version from oe-core, as there were some problems using uname -m.
Regards,
Anders