Closed dbl001 closed 3 years ago
Could you check your GMP version and possibly upgrade it?
mpz_2fac_ui
is available since GMP 5.1.0 (2012 !).
I'm not sure we want to support older versions.
$ sudo port list gmp
Password:
gmp @6.2.0 devel/gmp
I just downloaded the gmp 6.2.0 tar file from https://gmplib.org/#DOWNLOAD, and built 'gmp 6.2.0' from source. Now, zarith was able to build. Curious. Issue with Mac Port gmp 6.2.0?
Do you mean that you already had GMP 6.2.0 installed through MacPort, and reinstalling from source solved the issue ? This is strange indeed.
One possible explanation is that you already had several versions of GMP installed, and ./configure
picked the wrong one (an old one); then, installing from source installed 6.2.0 in a directory searched with higher priority by ./configure
(such as /usr/local
). I don't know Mac and MacPort enough to know the origin of the problem and find a workaround in the configure script. As it's fixed now anyway, I will close the issue.
Trying to build zarith on OS X 10.11.6