Hi Guys, I tried to install sage on my CentOS 7 server and simply cloned the whole source from github into a new directory i made: /sagemath and I simply entered the command 'make'. It took about 20 minutes of compiling and ended up at here: Error building Sage.
The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: gfortran-7.2.0 log file: /home/yuhengw/sagemath/sage/logs/pkgs/gfortran-7.2.0.log build directory: /home/yuhengw/sagemath/sage/local/var/tmp/sage/build/gfortran-7.2.0 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. I am quite new to all of this, any help would be greatly appreciated! Thanks p.s. see the log attached -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Found local metadata for gfortran-7.2.0 Attempting to download package gcc-7.2.0.tar.xz from mirrors http://files.sagemath.org/spkg/upstream/gcc/gcc-7.2.0.tar.xz [......................................................................] gfortran-7.2.0 ==================================================== Setting up build directory for gfortran-7.2.0 Traceback (most recent call last): File "/home/yuhengw/sagemath/sage/build/bin/sage-uncompress-spkg", line 23, in <module> run() File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/cmdline.py", line 53, in run archive = open_archive(filename) File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/action.py", line 38, in open_archive return cls(filename) File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/tar_file.py", line 152, in __new__ return SageBaseTarFile(mode="r", fileobj=BytesIO(data)) MemoryError ************************************************************************ Error: failed to extract /home/yuhengw/sagemath/sage/upstream/gcc-7.2.0.tar.xz ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/yuhengw/sagemath/sage/logs/pkgs/gfortran-7.2.0.log Describe your computer, operating system, etc. ************************************************************************ Found local metadata for gfortran-7.2.0 Using cached file /home/yuhengw/sagemath/sage/upstream/gcc-7.2.0.tar.xz gfortran-7.2.0 ==================================================== Setting up build directory for gfortran-7.2.0 Traceback (most recent call last): File "/home/yuhengw/sagemath/sage/build/bin/sage-uncompress-spkg", line 23, in <module> run() File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/cmdline.py", line 53, in run archive = open_archive(filename) File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/action.py", line 38, in open_archive return cls(filename) File "/home/yuhengw/sagemath/sage/build/bin/../sage_bootstrap/uncompress/tar_file.py", line 152, in __new__ return SageBaseTarFile(mode="r", fileobj=BytesIO(data)) MemoryError ************************************************************************ Error: failed to extract /home/yuhengw/sagemath/sage/upstream/gcc-7.2.0.tar.xz ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/yuhengw/sagemath/sage/logs/pkgs/gfortran-7.2.0.log Describe your computer, operating system, etc. ************************************************************************