Compiling GMP on OS X 10.6 (snow leopard)

Katie Scott katie at singularpoint.com
Thu Oct 8 19:47:04 CEST 2009


I started from scratch and remade everything and captured the log
files.  I will include them here.

The failure is in make.check  That log is in included this time.

I did not use any configuration options - although in a previous try I
had set it to use static not dynamic libraries as per a note in one of
the docs online.  It made no difference.

I am not setting any environment variables - although I will have to
check to see what is set by default.  I will include my environment
variables in a log file here.

I have found out that a friend who has a very similar setup to me has
no problem compiling and his check works fine.  This is very odd.  I
have a new processor but other than that we should be on the same
page....  We are both working from the same gmp release.  Maybe that
points to an environment variable or path problem.

I will try and compare his setup to mine in detail.

If there are more logs you need - please ask.  I am very anxious to
have this library working.

Thank you so much for your help!!

Katie



On Thu, Oct 8, 2009 at 8:44 AM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:
> 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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 19168 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20091008/c923baa8/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printenv.log
Type: application/octet-stream
Size: 729 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20091008/c923baa8/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 250095 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20091008/c923baa8/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.check.log
Type: application/octet-stream
Size: 5127 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20091008/c923baa8/attachment-0007.obj>


More information about the gmp-bugs mailing list