I have problems installing the
configure: error: Header file gmp.h not found; maybe use --with-gmp-include=INCLUDE_PATH
ERROR: configuration failed for package ‘gmp’
But I have
gmp installed because after trying to install it with Homebrew (
brew install gmp) I got the warning message:
Warning: gmp 6.2.1_1 is already installed and up-to-date.
Searching with macOS Finder I found the location of
install.packages("gmp", type="source", configure.args = "--with-gmp-include=/usr/local/Cellar/gmp/6.2.1_1/include/")
but without avail.
What is wrong here? Help is very appreciated.
macOS Monterey 12.3, Intel.
R version 4.1.3 (2022-03-10). Platform: x86_64-apple-darwin17.0 (64-bit).