Compiling GMP on OS X 10.6 (snow leopard)

Katie Scott katie at singularpoint.com
Sat Oct 10 22:12:52 CEST 2009


On Sat, Oct 10, 2009 at 11:02 AM, Torbjorn Granlund <tg at gmplib.org> wrote:
> Katie Scott <katie at singularpoint.com> writes:
>
>  That is fails at t-bswap is another indication that this could be a 32
>  to 64 bit issue.
>
>  It turns out that a friend of mine put is distribution on my machine
>  and it compiles and checks cleanly.  It is a funny thing that the
>  sizes of the distributions are the same.  I got mine from your sight
>  gmplib.org.  He doesn't seem to remember where he got his.  Perhaps
>  using Darwin Ports or fink.
>
> By "distribution", you mean full GMP source tree, I presume?
>
> Please do a "diff -Nrp dist1 dist2" to see what what has changed.
>
> --
> Torbjörn
>

The plot thickens.  There was no difference between the two
distributions.  Rather - I think it was my poor choice in directory
names.  I haven't gotten to the bottom of this but this is what I
think.

The error message during make check was:
libtool: link: cannot find the library `libraries/gmp-4.3.1/libgmp.la'
or unhandled argument `libraries/gmp-4.3.1/libgmp.la'

The library name I was using was"added libraries".

When I moved the distro out into a one named without spaces - it worked.  ??

I am relieved to be able to move on and start using the libraries.

Thank you so much for your help!

Katie

Katie


More information about the gmp-bugs mailing list