From b404502d8c612dbc25bf477d4f334d5d6381a123 Mon Sep 17 00:00:00 2001 From: Greg Berns Date: Thu, 29 Aug 2019 20:03:52 -0700 Subject: [PATCH 1/2] Update osx-install.md When I get to `sh autogen.sh` in the `grub` section, I get an error and the script stops: `Gnulib not yet bootstrapped; run ./bootstrap instead.` I manually ran it and ended up getting an error in this SO post, ran `brew install pkg-config` and re-ran and all went well. https://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error --- first-edition/src/appendix/osx-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-edition/src/appendix/osx-install.md b/first-edition/src/appendix/osx-install.md index 4b16681..0fbf91c 100644 --- a/first-edition/src/appendix/osx-install.md +++ b/first-edition/src/appendix/osx-install.md @@ -33,7 +33,7 @@ mkdir -p "$HOME/src" mkdir -p "$PREFIX" # gmp mpfr libmpc -brew install gmp mpfr libmpc autoconf automake nasm xorriso qemu +brew install gmp mpfr libmpc autoconf automake nasm xorriso qemu pkg-config # binutils From be947349f5e85f6db64bdf434034e94415f83eda Mon Sep 17 00:00:00 2001 From: Greg Berns Date: Thu, 29 Aug 2019 22:16:47 -0700 Subject: [PATCH 2/2] Run ./bootstrap --- first-edition/src/appendix/osx-install.md | 1 + 1 file changed, 1 insertion(+) diff --git a/first-edition/src/appendix/osx-install.md b/first-edition/src/appendix/osx-install.md index 0fbf91c..bb43197 100644 --- a/first-edition/src/appendix/osx-install.md +++ b/first-edition/src/appendix/osx-install.md @@ -99,6 +99,7 @@ if [ ! -d "grub" ]; then echo "" git clone --depth 1 git://git.savannah.gnu.org/grub.git cd grub + ./bootstrap sh autogen.sh mkdir -p build-grub cd build-grub