Ask Your Question

Revision history [back]

Error building Sage on Mac M1

Dear all,

I am trying to install sage, I followed all the instructions and keep on getting the following error:

Error building Sage.

The following package(s) may have failed to build (not necessarily during this run of 'make all-build'):

  • package: gmpy2-2.2.0a1 last build time: Jul 21 01:10 log file: /Users/ignacio/sage/sage/logs/pkgs/gmpy2-2.2.0a1.log

  • package: cffi-1.15.1 last build time: Jul 21 01:10 log file: /Users/ignacio/sage/sage/logs/pkgs/cffi-1.15.1.log

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-build] Error 1 make: * [build] Error 2

Could anyone please help me with this?