Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SAGE fails to build because of gcc-4.9.3.p1

Hello everyone!

I tried installing sage on ubuntu-16.10 sage-7.4 from the official mirrors. I extracted it, ran the ./configure(everything fine here) and ./make and this is what happens(output attached):

Error building Sage.

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

  • package: gcc-4.9.3.p1 log file: /home/akhilesh/Downloads/SageMath/logs/pkgs/gcc-4.9.3.p1.log build directory: /home/akhilesh/Downloads/SageMath/local/var/tmp/sage/build/gcc-4.9.3.p1

The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:16: recipe for target 'all-toolchain' failed make: * [all-toolchain] Error 1

I am currently working on a project, and although i can run sage by ./sage, i cannot install cryptominisat. Any leads would be highly appreciated on this.

Thanks in advance.