Compiling GMP on OS X 10.6 (snow leopard)

Jack Howarth howarth at bromo.med.uc.edu
Thu Oct 8 17:44:27 CEST 2009


Katie,
  You only provided a partial make log. The exact failure
should be well before the error...

> >  libtool: link: cannot find the library `libraries/gmp-4.3.1/libgmp.la'
> >  or unhandled argument `libraries/gmp-4.3.1/libgmp.la'

Also, what environmentals are you setting and options are you
passing to configure?
            Jack

On Thu, Oct 08, 2009 at 07:38:19AM -0700, Katie Scott wrote:
> Thank you for your help.
> 
> I am trying to compile gm-4.3.1.
> 
> I am attaching my zipped ./configure.log.  For grins I'm also
> attaching my make log.
> 
> Since it's failing at the libtool stage - I tried the libtool that
> comes with OS X - but with no luck.  I'm not familiar with the app.
> 
> Thanks so much!
> 
> Katie
> 
> On Wed, Oct 7, 2009 at 11:44 PM, Torbjorn Granlund <tg at gmplib.org> wrote:
> > 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
> >



> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs



More information about the gmp-bugs mailing list