n64 icon indicating copy to clipboard operation
n64 copied to clipboard

macOS build fails due to incorrect version of GMP

Open fenhl opened this issue 2 weeks ago • 0 comments

I tested this on a fresh VM to make sure it's not an issue with my system:

  1. Install Homebrew
  2. Run the commands in the “next steps” output
  3. git clone https://github.com/glankk/n64 && cd n64
  4. ./install_deps
  5. export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
  6. ./configure --prefix=/opt/n64
  7. 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

fenhl avatar Feb 07 '25 15:02 fenhl