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.
/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/src/bin/sage-env:
 line 311: [: too many arguments
Found local metadata for gfortran-7.2.0
Traceback (most recent call last):
  File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/sage-download-file",
 line 25, in <module>
    import sage_bootstrap
  File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/../sage_bootstrap/__init__.py",
 line 2, in <module>
    from sage_bootstrap.config import Configuration
  File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/../sage_bootstrap/config.py",
 line 34, in <module>
    import logging
  File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/lib/python2.7/logging/__init__.py",
 line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/lib/python2.7/weakref.py",
 line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
************************************************************************
Error downloading 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/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/logs/pkgs/gfortran-7.2.0.log
Describe your computer, operating system, etc.
************************************************************************
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CLUTTER_IM_MODULE=xim
COLORTERM=gnome-terminal
COMPIZ_CONFIG_PROFILE=ubuntu
CONFIGURED_CC=gcc
CONFIGURED_CXX=g++
CONFIGURED_FC=
CONFIGURED_OBJC=gcc
CONFIGURED_OBJCXX=g++
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XQmor4Ufmb
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GDM_LANG=en_US
GDMSESSION=ubuntu
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-MuXtBw
GNOME_KEYRING_PID=1974
GPG_AGENT_INFO=/run/user/1000/keyring-MuXtBw/gpg:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
HISTSIZE=1000
HOME=/home/anand
IM_CONFIG_PHASE=1
INSTANCE=Unity
JOB=gnome-session
LANG=en_IN
LANGUAGE=en_IN:en
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=anand
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAKEFLAGS= V=1
MAKELEVEL=1
MAKE=make
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
MFLAGS=
PATH=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin:/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/src/bin:/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make
PYTHONPATH=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
SAGE_EXTCODE=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/share/sage/ext
SAGE_LOCAL=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local
SAGE_LOGS=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SAGE_PYTHON_VERSION=2
SAGE_ROOT=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath
SAGE_SHARE=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/share
SAGE_SPKG_INST=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed
SAGE_SRC=/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/src
SAGE_VERSION=8.2
SELINUX_INIT=YES
SESSIONTYPE=gnome-session
SHELL=/bin/bash
SHLVL=3
SSH_AUTH_SOCK=/run/user/1000/keyring-MuXtBw/ssh
TERM=xterm
TEXTDOMAINDIR=/usr/share/locale/
TEXTDOMAIN=im-config
UPSTART_EVENTS=started starting
UPSTART_INSTANCE=
UPSTART_JOB=unity-settings-daemon
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1976
USER=anand
_=/usr/bin/env
VTE_VERSION=3409
WINDOWID=85983244
XAUTHORITY=/home/anand/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/anand
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_VTNR=7
XMODIFIERS=@im=ibus
***********************************************
make[1]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make base
make[2]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[2]: Nothing to be done for `base'.
make[2]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[2]: Nothing to be done for `toolchain'.
make[2]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make toolchain-deps
make[2]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make 
/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/zlib-1.2.11
make[3]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[3]: 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/zlib-1.2.11'
 is up to date.
make[3]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make mpir
make[3]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[3]: Nothing to be done for `mpir'.
make[3]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make 
/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/mpfr-4.0.1
make[3]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[3]: 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/mpfr-4.0.1'
 is up to date.
make[3]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make 
/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/mpc-1.1.0
make[3]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[3]: 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/local/var/lib/sage/installed/mpc-1.1.0'
 is up to date.
make[3]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make[2]: Leaving directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
make doc all-sage
make[2]: Entering directory 
`/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/make'
sage-logger -p 'sage-spkg gfortran-7.2.0' 
'/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/logs/pkgs/gfortran-7.2.0.log'
[gfortran-7.2.0] 
/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/src/bin/sage-env:
 line 311: [: too many arguments
[gfortran-7.2.0] Found local metadata for gfortran-7.2.0
[gfortran-7.2.0] Traceback (most recent call last):
[gfortran-7.2.0]   File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/sage-download-file",
 line 25, in <module>
[gfortran-7.2.0]     import sage_bootstrap
[gfortran-7.2.0]   File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/../sage_bootstrap/__init__.py",
 line 2, in <module>
[gfortran-7.2.0]     from sage_bootstrap.config import Configuration
[gfortran-7.2.0]   File 
"/home/anand/Desktop/Math_and_Physics/Abstract_Algebra/SageMath/build/bin/../sage_bootstrap/config.py",
 line 34, in <module>
[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 necessarily
during 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.

Reply via email to