Page 1 of 1
Building GRUB2 failed at step make
Posted: Wed Dec 07, 2016 4:08 pm
by Adrox
Hello,
I have a problem. I wanted to build GRUB2 but it failed at the command make. I attached the console output. Sorry some words are in German.
Fehler = error
wird verlassen = is left
die Regel = the rule
Verzeichnis = directory
scheiterte = failed
für Ziel = for target
How can I solve this problem I installed all dependencies??
Re: Building GRUB2 failed at step make
Posted: Wed Dec 07, 2016 4:31 pm
by matt11235
Adrox wrote:Hello,
I have a problem. I wanted to build GRUB2 but it failed at the command make. I attached the console output. Sorry some words are in German.
Fehler = error
wird verlassen = is left
die Regel = the rule
Verzeichnis = directory
scheiterte = failed
für Ziel = for target
How can I solved this problem I installed all dependencies??
Is there any reason you can't use the grub2 from the Ubuntu repositories?
Re: Building GRUB2 failed at step make
Posted: Wed Dec 07, 2016 11:07 pm
by Adrox
Grub2 is in the official repositories? Is grub2 precompiled there?
Re: Building GRUB2 failed at step make
Posted: Wed Dec 07, 2016 11:33 pm
by Octacone
Just: sudo apt-get install grub2 and sudo apt-get install xorriso to make sure your builds are not failing because of that. Why would you want to compile GRUB, just use those two commands.
Re: Building GRUB2 failed at step make
Posted: Thu Dec 08, 2016 12:30 am
by Boris
Hi,
in order to have standard error messages , prefix your command line with LC_ALL=C.
Many GNU software needs to be configured before running make. So go ahead and run:
Re: Building GRUB2 failed at step make
Posted: Thu Dec 08, 2016 12:59 pm
by Adrox
Thanks for your answers I am going to test these solutions soon. Besides I am going to install grub2 via the official repositories