The binary release of SageMath 9.4 for Intel Macs is reported to work fine 
with Rosetta.

- Marc

On Friday, January 28, 2022 at 3:12:29 PM UTC-6 dim...@gmail.com wrote:

> 9.4 is not known to run on M1.
> Try the latest, 9.5.rc4, instead.
>
> On Fri, 28 Jan 2022, 19:03 Jeremy Martin, <jeremy....@gmail.com> wrote:
>
>> I am on a brand-new Apple M1 running Monterey 12.0.1.  I just tried to 
>> build Sage 9.4 from source.  After installing XCode, command-line tools, 
>> Homebrew, I get the following (complete log files attached).
>>
>> ........
>> [gmp-6.2.0] configure: error: Oops, mp_limb_t is 64 bits, but the 
>> assembler code
>> [gmp-6.2.0] in this configuration expects 32 bits.
>> [gmp-6.2.0] Error configuring GMP (with CFLAGS unset).
>> [gmp-6.2.0] Consult 
>> /Applications/sage-9.4/local/var/tmp/sage/build/gmp-6.2.0/src/config.log 
>> for for details.
>> [gmp-6.2.0]
>> [gmp-6.2.0] real        0m13.729s
>> [gmp-6.2.0] user        0m5.814s
>> [gmp-6.2.0] sys        0m4.358s
>> [gmp-6.2.0] 
>> ************************************************************************
>> [gmp-6.2.0] Error installing package gmp-6.2.0
>> [gmp-6.2.0] 
>> ************************************************************************
>> [gmp-6.2.0] Please email sage-devel (
>> http://groups.google.com/group/sage-devel)
>> [gmp-6.2.0] explaining the problem and including the log files
>> [gmp-6.2.0]   /Applications/sage-9.4/logs/pkgs/gmp-6.2.0.log
>> [gmp-6.2.0] and
>> [gmp-6.2.0]   /Applications/sage-9.4/config.log
>> [gmp-6.2.0] Describe your computer, operating system, etc.
>> [gmp-6.2.0] If you want to try to fix the problem yourself, *don't* just 
>> cd to
>> [gmp-6.2.0] /Applications/sage-9.4/local/var/tmp/sage/build/gmp-6.2.0 and 
>> type 'make' or whatever is appropriate.
>> [gmp-6.2.0] Instead, the following commands setup all environment 
>> variables
>> [gmp-6.2.0] correctly and load a subshell for you to debug the error:
>> [gmp-6.2.0]   (cd 
>> '/Applications/sage-9.4/local/var/tmp/sage/build/gmp-6.2.0' && 
>> '/Applications/sage-9.4/sage' --buildsh)
>> [gmp-6.2.0] When you are done debugging, you can type "exit" to leave the 
>> subshell.
>> [gmp-6.2.0] 
>> ************************************************************************
>> make[4]: *** [gmp-SAGE_LOCAL-no-deps] Error 1
>> make[3]: *** 
>> [/Applications/sage-9.4/local/var/lib/sage/installed/gmp-6.2.0] Error 2
>> make[2]: *** [toolchain-deps] Error 2
>>
>> real        0m44.133s
>> user        0m18.589s
>> sys        0m14.489s
>> ***************************************************************
>> Error building Sage.
>>
>> The following package(s) may have failed to build (not necessarily
>> during this run of 'make all-start'):
>>
>> * package:         gmp-6.2.0
>>   last build time: Jan 28 12:11
>>   log file:        /Applications/sage-9.4/logs/pkgs/gmp-6.2.0.log
>>   build directory: 
>> /Applications/sage-9.4/local/var/tmp/sage/build/gmp-6.2.0
>>
>> It is safe to delete any log files and build directories, but they
>> contain information that is helpful for debugging build problems.
>> WARNING: If you now run 'make' again, the build directory of the
>> same version of the package will, by default, be deleted. Set the
>> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>>
>> make[1]: *** [all-start] Error 1
>> make: *** [all] Error 2
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/cd3795e6-775e-4603-a5d4-b51b0034e8fcn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-devel/cd3795e6-775e-4603-a5d4-b51b0034e8fcn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/b6f4d09b-5e2c-49d7-b7f9-053b9e09b616n%40googlegroups.com.

Reply via email to