Compiling GMP on OS X 10.6 (snow leopard)

Torbjorn Granlund tg at gmplib.org
Thu Oct 8 08:44:57 CEST 2009


Katie Scott <katie at singularpoint.com> writes:

  GMP does not seem to successfully compile on Mac OS X 10.6.  It
  compiles but make check fails.
  
  make check
  make  check-recursive
  Making check in tests
  Making check in .
  make  libtests.la t-bswap t-constants t-count_zeros t-gmpmax
  t-hightomask t-modlinv t-popc t-parity t-sub
  make[4]: `libtests.la' is up to date.
  /bin/sh ../libtool --mode=link gcc  -O2 -pedantic -m64 -mtune=core2
  -o t-bswap  t-bswap.o libtests.la ../libgmp.la
  libtool: link: cannot find the library `libraries/gmp-4.3.1/libgmp.la'
  or unhandled argument `libraries/gmp-4.3.1/libgmp.la'
  make[4]: *** [t-bswap] Error 1
  make[3]: *** [check-am] Error 2
  make[2]: *** [check-recursive] Error 1
  make[1]: *** [check-recursive] Error 1
  make: *** [check] Error 2
  
  
  I see libgmp.la in the directory.
  
Unfortunately, I have no good guess about what causes this problem.

We might be able to understand what is wrong if you check this out,
http://gmplib.org/manual/Reporting-Bugs.html and then provide the
requested information.

-- 
Torbjörn


More information about the gmp-bugs mailing list