On Sat, 29 Jan 2022, 01:35 Jeremy Martin, <jeremy.l.mar...@gmail.com> wrote:
> Thanks, Dima. I'm looking for a stable version to use every day, so I > guess I need to wait until the official release of 9.5? > > I'm no expert on reading install logs but the problem looks like it is > about a specific package. > here is a ticket we have for M1 support. Even with 9.5 you will need some packages from Homebrew to be able to build on M1 https://trac.sagemath.org/ticket/30592 -Jeremy > > > On 1/28/22 5:17 PM, Dima Pasechnik wrote: > > > > On Fri, 28 Jan 2022, 22:31 Jeremy Martin, <jeremy.l.mar...@gmail.com> > wrote: > >> Apologies if I'm missing something, but 9.4 appears to be the current >> version available on sagemath.org and all its mirrors. > > > https://www.sagemath.org/download-latest.html > > -JLM >> >> 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/e7481918-1801-4394-8e65-fbb06eeeeaecn%40googlegroups.com >> <https://groups.google.com/d/msgid/sage-devel/e7481918-1801-4394-8e65-fbb06eeeeaecn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/NiP5jIfHusI/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAAWYfq1Gs3U-pYdDNXL01RExWO61cO%3DYscFtYeZRgGR%2B39bSww%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-devel/CAAWYfq1Gs3U-pYdDNXL01RExWO61cO%3DYscFtYeZRgGR%2B39bSww%40mail.gmail.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/af2d08d9-f3ae-d022-d048-6d93cfb677ab%40gmail.com > <https://groups.google.com/d/msgid/sage-devel/af2d08d9-f3ae-d022-d048-6d93cfb677ab%40gmail.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/CAAWYfq3iMnKb7%3DkgpRoWtN909e1yYLMSzFbJS8PV%3D%2BJbVg83UA%40mail.gmail.com.