Re: [gentoo-user] Re: Error while `emerge grub`
On Fri, Jun 10, 2011 at 05:46, walt w41...@gmail.com wrote: On 06/08/2011 10:54 PM, Pandu Poluan wrote: $ ./configure --prefix=/usr --build=x86-pc-linux-gnu Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines) My first thought would be to grep through /etc/* for x86. At this minute I don't have a second thought :( Amazing! You're right! Apparently I created a make.conf with x86-pc-linux-gnu instead of i686-linux-gnu. I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P ( That said, isn't it ... inconsistent that the flags are ~amd64 and ~x86 while the CHOST can be x86_64 and i686 ... ) Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] Re: Error while `emerge grub`
Apparently, though unproven, at 16:42 on Friday 10 June 2011, Pandu Poluan did opine thusly: On Fri, Jun 10, 2011 at 05:46, walt w41...@gmail.com wrote: On 06/08/2011 10:54 PM, Pandu Poluan wrote: $ ./configure --prefix=/usr --build=x86-pc-linux-gnu Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines) My first thought would be to grep through /etc/* for x86. At this minute I don't have a second thought :( Amazing! You're right! Apparently I created a make.conf with x86-pc-linux-gnu instead of i686-linux-gnu. I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P ( That said, isn't it ... inconsistent that the flags are ~amd64 and ~x86 while the CHOST can be x86_64 and i686 ... ) Not at all inconsistent. Stupid, but not inconsistent. AMD developed the 64 bit instructions set so it is correctly amd64. Intel developed the 32 bit instruction set so they can call it what they want it to be, which is x86. Now, as for CHOST. Well, that comes from Red Hat who are deeply involved in glibc and gcc and they insist that the OneAndOnlyTrueName(tm) is x86_64. Red Hat are flat out wrong of course, but that doesn't stop them punting their wrong idea and shoving it into the toolchain when we regular schmucks have to deal with it. So now you know. The stupid ones are very very consistent in their stupidity. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Error while `emerge grub`
On 06/08/2011 10:54 PM, Pandu Poluan wrote: Okay, what's going on here... While `emerge grub` I got configure: error: unsupported CPU type Here's /var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log : This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GRUB configure 0.97, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --prefix=/usr --build=x86-pc-linux-gnu Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines) My first thought would be to grep through /etc/* for x86. At this minute I don't have a second thought :(
Re: [gentoo-user] Re: Error while `emerge grub`
walt wrote: On 06/08/2011 10:54 PM, Pandu Poluan wrote: Okay, what's going on here... While `emerge grub` I got configure: error: unsupported CPU type Here's /var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log : This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GRUB configure 0.97, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --prefix=/usr --build=x86-pc-linux-gnu Hm. That should be --build=i686-pc-linux-gnu (for 32-bit machines) My first thought would be to grep through /etc/* for x86. At this minute I don't have a second thought :( I did a bit of googlin and the only thing I can think of is to make sure gcc is pointing correctly. That would be gcc-config -l and that is a little L or short for list. I mention in case you are a bit new. Hope that helps. Dale :-) :-)