Where have you gotten the source? You need to get it, say, from http://www.sagemath.org/download-source.html
(looks like you are trying to build a binary distribution) On Wednesday, June 21, 2017 at 12:40:15 PM UTC+1, Eric wrote: > > Dear all, > > I am new to Sage. In installation part, I've got this message when > building the Sage. > > Could you please help me? > > Thank you very much. > > make build/make/Makefile > make[1]: Entering directory `/home/eric/Sage/SageMath' > make[1]: `build/make/Makefile' is up to date. > make[1]: Leaving directory `/home/eric/Sage/SageMath' > build/bin/sage-logger \ > "cd build/make && ./install 'all'" logs/install.log > *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** > CLUTTER_IM_MODULE=xim > COLORTERM=gnome-terminal > COMPIZ_CONFIG_PROFILE=ubuntu > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XWvPOj2kHc > 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-Ku5pqL > GNOME_KEYRING_PID=1767 > GPG_AGENT_INFO=/run/user/1000/keyring-Ku5pqL/gpg:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=overlay-scrollbar:unity-gtk-module > HOME=/home/eric > IM_CONFIG_PHASE=1 > INSTANCE=Unity > JOB=gnome-session > LANG=en_US.UTF-8 > LANGUAGE=en_US > LESSCLOSE=/usr/bin/lesspipe %s %s > LESSOPEN=| /usr/bin/lesspipe %s > LOGNAME=eric > > 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= > MAKELEVEL=1 > MAKE=make > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > MFLAGS= > > PATH=/home/eric/Sage/SageMath/build/bin:/home/eric/Sage/SageMath/src/bin:/home/eric/Sage/SageMath/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD=/home/eric/Sage/SageMath/build/make > PYTHONPATH=/home/eric/Sage/SageMath/local > QT4_IM_MODULE=xim > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=appmenu-qt5 > SAGE_EXTCODE=/home/eric/Sage/SageMath/local/share/sage/ext > SAGE_LOCAL=/home/eric/Sage/SageMath/local > SAGE_LOGS=/home/eric/Sage/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_ROOT=/home/eric/Sage/SageMath > SAGE_SHARE=/home/eric/Sage/SageMath/local/share > SAGE_SPKG_INST=/home/eric/Sage/SageMath/local/var/lib/sage/installed > SAGE_SRC=/home/eric/Sage/SageMath/src > SAGE_VERSION=7.6 > SELINUX_INIT=YES > SESSIONTYPE=gnome-session > SHELL=/bin/bash > SHLVL=3 > SSH_AUTH_SOCK=/run/user/1000/keyring-Ku5pqL/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/1771 > USER=eric > _=/usr/bin/env > V=1 > VTE_VERSION=3409 > WINDOWID=58720268 > XAUTHORITY=/home/eric/.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/eric > 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/eric/Sage/SageMath/build/make' > make base > make[2]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[2]: Nothing to be done for `base'. > make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make' > env SAGE_BUILD_TOOLCHAIN=yes make toolchain > make[2]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[2]: Nothing to be done for `toolchain'. > make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make toolchain-deps > make[2]: Entering directory `/home/eric/Sage/SageMath/build/make' > make /home/eric/Sage/SageMath/local/var/lib/sage/installed/zlib-1.2.8.p0 > make[3]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[3]: > `/home/eric/Sage/SageMath/local/var/lib/sage/installed/zlib-1.2.8.p0' is > up to date. > make[3]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make /home/eric/Sage/SageMath/local/var/lib/sage/installed/mpir-2.7.2.p0 > make[3]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[3]: > `/home/eric/Sage/SageMath/local/var/lib/sage/installed/mpir-2.7.2.p0' is > up to date. > make[3]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make /home/eric/Sage/SageMath/local/var/lib/sage/installed/mpfr-3.1.5 > make[3]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[3]: > `/home/eric/Sage/SageMath/local/var/lib/sage/installed/mpfr-3.1.5' is up > to date. > make[3]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make /home/eric/Sage/SageMath/local/var/lib/sage/installed/mpc-1.0.3.p0 > make[3]: Entering directory `/home/eric/Sage/SageMath/build/make' > make[3]: > `/home/eric/Sage/SageMath/local/var/lib/sage/installed/mpc-1.0.3.p0' is up > to date. > make[3]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make doc all-sage > make[2]: Entering directory `/home/eric/Sage/SageMath/build/make' > if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \ > cd /home/eric/Sage/SageMath/src && source bin/sage-env && \ > sage-logger -p 'time make sage' > '/home/eric/Sage/SageMath/logs/pkgs/sagelib-7.6.log'; \ > fi > [sagelib-7.6] make[3]: Entering directory `/home/eric/Sage/SageMath/src' > [sagelib-7.6] (cd . \ > [sagelib-7.6] && export SAGE_ROOT=/doesnotexist \ > [sagelib-7.6] SAGE_SRC=/doesnotexist \ > [sagelib-7.6] SAGE_SRC_ROOT=/doesnotexist \ > [sagelib-7.6] SAGE_DOC_SRC=/doesnotexist \ > [sagelib-7.6] SAGE_SCRIPTS_DIR=/doesnotexist \ > [sagelib-7.6] SAGE_BUILD_DIR=/doesnotexist \ > [sagelib-7.6] SAGE_PKGS=/home/eric/Sage/SageMath/build/pkgs \ > [sagelib-7.6] > SAGE_CYTHONIZED=/home/eric/Sage/SageMath/src/build/cythonized > \ > [sagelib-7.6] && python -u setup.py --no-user-cfg build install) > [sagelib-7.6] /home/eric/Sage/SageMath/local/bin/python: 1: > /home/eric/Sage/SageMath/local/bin/python: Syntax error: word unexpected > (expecting ")") > [sagelib-7.6] make[3]: *** [sage] Error 2 > [sagelib-7.6] make[3]: Leaving directory `/home/eric/Sage/SageMath/src' > [sagelib-7.6] > [sagelib-7.6] real 0m0.017s > [sagelib-7.6] user 0m0.000s > [sagelib-7.6] sys 0m0.000s > make[2]: *** [sagelib] Error 2 > make[2]: Leaving directory `/home/eric/Sage/SageMath/build/make' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/eric/Sage/SageMath/build/make' > > real 0m0.441s > user 0m0.064s > sys 0m0.084s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all'): > > 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. > > make: *** [all] Error 1 > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.