[sage-devel] Problem compiling Sage 4.4.1 on Mac OS X 10.6

2 views
Skip to first unread message

Andri Egilsson

unread,
May 3, 2010, 7:29:05 AM5/3/10
to sage-devel
Hi all,

I ran into the following problem trying to compile Sage 4.4.1 on Mac
OS X 10.6 (Snow Leopard). My configuration:

MacBook Pro 17" 2.16 GHz Intel Core Duo (32bit) (Full specs at
http://www.everymac.com/systems/apple/macbook_pro/stats/macbook_pro_2.16_17.html)
2 GB 667 MHz DDR2 SDRAM
Mac OS X 10.6.3
MacPorts disabled by moving /opt/local to /opt/local-macports

Sage 4.4 binary works fine (sage-4.4-OSX-32bit-10.4-i386-Darwin.dmg)

The relevant part of install.log:
gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. -
DOPERATION_dive_1 -I. -I. -I.. tmp-dive_1.s -fno-common -DPIC -o .libs/
dive_1.o
tmp-dive_1.s:108:junk `@GOT' after expression
make[4]: *** [dive_1.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
Error building MPIR.

real 1m22.957s
user 0m42.088s
sys 0m27.357s
sage: An error occurred while installing mpir-1.2.2.p0

This is the same problem as I had trying to compile 4.4 a few days
ago. Any thoughts?

Regards,
Andri

--
To post to this group, send an email to sage-...@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Georg S. Weber

unread,
May 4, 2010, 4:29:16 PM5/4/10
to sage-devel


On 3 Mai, 13:29, Andri Egilsson <andri.egils...@gmail.com> wrote:
> Hi all,
>
> I ran into the following problem trying to compile Sage 4.4.1 on Mac
> OS X 10.6 (Snow Leopard). My configuration:
>
> MacBook Pro 17" 2.16 GHz Intel Core Duo (32bit) (Full specs athttp://www.everymac.com/systems/apple/macbook_pro/stats/macbook_pro_2...)
> 2 GB 667 MHz DDR2 SDRAM
> Mac OS X 10.6.3
> MacPorts disabled by moving /opt/local to /opt/local-macports
>
> Sage 4.4 binary works fine (sage-4.4-OSX-32bit-10.4-i386-Darwin.dmg)
>
> The relevant part of install.log:
>  gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -
> mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. -
> DOPERATION_dive_1 -I. -I. -I.. tmp-dive_1.s -fno-common -DPIC -o .libs/
> dive_1.o
> tmp-dive_1.s:108:junk `@GOT' after expression
> make[4]: *** [dive_1.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> Error building MPIR.
>
> real    1m22.957s
> user    0m42.088s
> sys     0m27.357s
> sage: An error occurred while installing mpir-1.2.2.p0
>
> This is the same problem as I had trying to compile 4.4 a few days
> ago. Any thoughts?
>

Ouch.

The combination of OS X 10.6 and 32bit is something we don't do
regular tests on. The problem you see is not in the Sage Library
proper, but in the MPIR package. Thank you very much for reporting,
but I fear that in the near future, there's not much to be done about
this. You can continue to use the provided 32bit OS X binaries, and/or
use "sage -upgrade" on an old such install (to be faster). Both ways
should work.

Cheers,
Georg
Reply all
Reply to author
Forward
0 new messages