Hello, I am using Ubuntu 18.04.3 LTS with sage version 9.1 beta 2 After using below command git clone git://github.com/sagemath/sage.git cd sage git checkout develop make git clone https://github.com/sagemath/git-trac-command.git source git-trac-command/enable.sh echo $PATH cd git-trac-command ln -s `pwd`/git-trac ~/bin/ git trac config --user USERNAME --pass 'PASSWORD' ssh-add I was unable to build sage I tried using './sage -br' and 'make' also. But it is still not working I am attaching the log file here. Kindly help me with this I am new here. Regards Vipul Gupta
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CA%2BSFJRdJk7dUMYDQVQM7x5kUMQeq1eN6%3DPixjeeF%2Bz0eE82Bnw%40mail.gmail.com.
Script started on 2020-01-30 03:22:09+0530 ]0;vipul@vipul-Predator-G3-572: ~/sage[01;32mvipul@vipul-Predator-G3-572[00m:[01;34m~/sage[00m$ ./sage -br gcc -o src/interrupt.os -c -fPIC -I/home/vipul/sage/local/include -I/home/vipul/sage/local/include/python2.7 -I/home/vipul/sage/local/include/NTL -Iinclude src/interrupt.c In file included from [01m[Ksrc/interrupt.c:43:0[m[K: [01m[Kinclude/stdsage.h:35:10:[m[K [01;31m[Kfatal error: [m[KPython.h: No such file or directory #include [01;31m[K"Python.h"[m[K [01;31m[K^~~~~~~~~~[m[K compilation terminated. scons: *** [src/interrupt.os] Error 1 ]0;vipul@vipul-Predator-G3-572: ~/sage[01;32mvipul@vipul-Predator-G3-572[00m:[01;34m~/sage[00m$ mz[Kake cd build && \ "../build/pipestatus" \ "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \ "tee -a ../logs/install.log" /home/vipul/sage/src/bin/sage-env: line 441: /home/vipul/sage/local/bin/sage-arch-env: No such file or directory *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** CLUTTER_IM_MODULE=xim COLORTERM=truecolor DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_AUTOSTART_ID=10227c231de3b41cc6158031839066381900000018410007 DESKTOP_SESSION=ubuntu DISPLAY=:0 GDMSESSION=ubuntu GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=ubuntu GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/478fadd3_f1e4_480d_8021_998f7dd66a69 GNOME_TERMINAL_SERVICE=:1.145 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge HOME=/home/vipul IM_CONFIG_PHASE=2 LANG=en_IN LANGUAGE=en_IN:en LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME=vipul 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:mi=00: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:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=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:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=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:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: MAKEFLAGS= MAKELEVEL=1 MAKE=make MAKE_TERMERR=/dev/pts/1 MAKE_TERMOUT=/dev/pts/1 MFLAGS= OLDPWD=/home/vipul/sage PATH=/home/vipul/sage/src/bin:/home/vipul/sage/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/vipul/sage/build PYTHONPATH=/home/vipul/sage/local QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=xim SAGE_EXTCODE=/home/vipul/sage/local/share/sage/ext SAGE_LOCAL=/home/vipul/sage/local SAGE_LOGS=/home/vipul/sage/logs/pkgs SAGE_MP_LIBRARY=MPIR 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:/snap/bin SAGE_PARALLEL_SPKG_BUILD= SAGE_ROOT=/home/vipul/sage SAGE_SPKG_INST=/home/vipul/sage/local/var/lib/sage/installed SAGE_SRC=/home/vipul/sage/src SAGE_VERSION=6.6.beta5 SESSION_MANAGER=local/vipul-Predator-G3-572:@/tmp/.ICE-unix/1841,unix/vipul-Predator-G3-572:/tmp/.ICE-unix/1841 SHELL=/bin/bash SHLVL=4 SSH_AGENT_PID=1936 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TERM=xterm-256color TEXTDOMAINDIR=/usr/share/locale/ TEXTDOMAIN=im-config USERNAME=vipul USER=vipul _=/usr/bin/env VTE_VERSION=5202 WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=2 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus *********************************************** make[1]: Entering directory '/home/vipul/sage/build' make base make[2]: Entering directory '/home/vipul/sage/build' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for root user... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu src/bin/sage-env: line 441: /home/vipul/sage/local/bin/sage-arch-env: No such file or directory If you would like to try to build Sage anyway (to help porting), export the variable 'SAGE_PORT' to something non-empty. Makefile:560: recipe for target '/home/vipul/sage/local/var/lib/sage/installed/prereq' failed make[2]: *** [/home/vipul/sage/local/var/lib/sage/installed/prereq] Error 1 make[2]: Leaving directory '/home/vipul/sage/build' Makefile:423: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/vipul/sage/build' real 0m0.277s user 0m0.243s sys 0m0.060s *************************************************************** Error building Sage. The following package(s) may have failed to build: 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:19: recipe for target 'build' failed make: *** [build] Error 1 ]0;vipul@vipul-Predator-G3-572: ~/sage[01;32mvipul@vipul-Predator-G3-572[00m:[01;34m~/sage[00m$ exit exit Script done on 2020-01-30 03:22:35+0530