n64
n64 copied to clipboard
macOS build fails due to incorrect version of GMP
I tested this on a fresh VM to make sure it's not an issue with my system:
- Install Homebrew
- Run the commands in the “next steps” output
-
git clone https://github.com/glankk/n64 && cd n64
-
./install_deps
-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
-
./configure --prefix=/opt/n64
-
make -j install-toolchain
The last command exits with status code 2 and its output contains the following:
checking for the correct version of gmp.h... no
configure: error: Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
Try the --with-gmp and/or --with-mpfr options to specify
their locations. If you obtained GMP and/or MPFR from a vendor
distribution package, make sure that you have installed both the libraries
and the header files. They may be located in separate packages.
make: *** [build-gdb/config.status] Error 1