Cannot recompile grub - checking whether the C compiler works... no

Jakub Jelinek jakub at redhat.com
Tue Jul 5 06:30:36 UTC 2011


On Mon, Jul 04, 2011 at 11:41:41PM +0200, Joshua C. wrote:
> 2011/6/12 Joshua C. <joshuacov at googlemail.com>:
> > As the subject says I cannot recompile grub. Everytime I get "checking
> > whether the C compiler works... no". I explicitely installed all
> > packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_64/root.log
> > and have attached those in the packages.log file. The only thing
> > that's missing is the glibc32 package but it conflicts with
> > glibc-2.14-2.i686. As you can see from the attached build.log the
> > error arises in the middle of the compilation. What am I missing?
> >
> 
> Anyone any ideas?

To compile grub on x86_64, which compiles as 32-bit, you need
at least glibc.i686, glibc-devel.i686 and maybe also glibc-static.i686
in addition to x86_64 packages.  grub seems to BuildRequires at least
/usr/lib/crt1.o, so that should take care of requiring glibc-devel.i686.

	Jakub


More information about the users mailing list