I'm been unable to compile Sage on my MacOS laptop (Monterrey, x86 intel)
I've tried installing all homebrew packages requested, but it tends to
still not
find them (path problem?). I switched to using conda, following the
directions
here:
https://doc.sagemath.org/html/en/installation/conda.html
but it fails with the error message below (another path problem?). The
config
log file is attached.
Any suggestions would be appreciated.
--David Kohel
Checking whether SageMath should install SPKG gmp...
checking gmp.h usability... yes
checking gmp.h presence... no
configure: WARNING: gmp.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: gmp.h: proceeding with the compiler's result
checking for gmp.h... yes
checking gmpxx.h usability... yes
checking gmpxx.h presence... no
configure: WARNING: gmpxx.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: gmpxx.h: proceeding with the compiler's result
checking for gmpxx.h... yes
checking for library containing __gmpq_cmp_z... -lgmp
configure: will use system package and not install SPKG gmp
checking absolute name of <gmp.h>... checking for gmp.h... (cached) yes
configure: error: failed to find absolute path to gmp.h despite it being
reported found