You're installing a binary distribution of Sage, but apparently follow instructions for building from source. Instead, you should untar the file and run ./sage
On Tuesday, June 19, 2018 at 4:10:55 PM UTC+1, Anand Shekar wrote: > > > Hi everyone, > > I am trying to install Sagemath on my Lenovo Laptop running on > Ubuntu 14.04. > > It would be great if someone could point out to any earlier > thread/link or guide me on how to fix this. Tried searching on this group > but was unable to find anything specific to this issue...[Btw - I started > out with the '*sage-8.1-Ubuntu_14.04-x86_64.tar.bz2* > <http://ftp.iitm.ac.in/sage/linux/64bit/sage-8.1-Ubuntu_14.04-x86_64.tar.bz2>' > > from http://ftp.iitm.ac.in/sage/linux/64bit/index.html. ] > > > Thanks in advance > Anand > > > [gfortran-7.2.0] import logging > [gfortran-7.2.0] File > "/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/lib/python2.7/logging/__init__.py", > > line 26, in <module> > [gfortran-7.2.0] import sys, os, time, cStringIO, traceback, warnings, > weakref, collections > [gfortran-7.2.0] File > "/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/lib/python2.7/weakref.py", > > line 14, in <module> > [gfortran-7.2.0] from _weakref import ( > *[gfortran-7.2.0] ImportError: cannot import name _remove_dead_weakref* > [gfortran-7.2.0] > ************************************************************************ > *[gfortran-7.2.0] Error downloading gcc-7.2.0.tar.xz* > [gfortran-7.2.0] > ************************************************************************ > [gfortran-7.2.0] Please email sage-devel ( > http://groups.google.com/group/sage-devel) > [gfortran-7.2.0] explaining the problem and including the log file > [gfortran-7.2.0] > /home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/logs/pkgs/gfortran-7.2.0.log > [gfortran-7.2.0] Describe your computer, operating system, etc. > [gfortran-7.2.0] > ************************************************************************ > make[2]: *** > [/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/gfortran-7.2.0] > > Error 1 > make[2]: Leaving directory > `/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make' > > real 0m1.206s > user 0m0.440s > sys 0m0.048s > *************************************************************** > Error building Sage. > > > > > *The following package(s) may have failed to build (not necessarilyduring > this run of 'make all'):* package: gfortran-7.2.0* > log file: > /home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/logs/pkgs/gfortran-7.2.0.log > build directory: > /home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/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. > > -- 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.