OK I think I have it, if I download the source of version 10 from github I should be able to configure and make that.
On Monday, 17 July 2023 at 21:37:45 UTC+10 Dima Pasechnik wrote: > On Mon, Jul 17, 2023 at 12:16 PM Tim M <typica...@gmail.com> wrote: > > > > Thanks for responding. > > > > The output of ./ configure is as follows: > > checking for a BSD-compatible install... /usr/bin/install -c > > checking whether build environment is sane... yes > > checking for a race-free mkdir -p... /usr/bin/mkdir -p > > checking for gawk... gawk > > checking whether make sets $(MAKE)... yes > > checking whether make supports nested variables... yes > > checking whether to enable maintainer-specific portions of Makefiles... > yes > > checking whether make supports the include directive... yes (GNU style) > > checking for gcc... gcc > > checking whether the C compiler works... yes > > checking for C compiler default output file name... a.out > > checking for suffix of executables... > > checking whether we are cross compiling... no > > checking for suffix of object files... o > > checking whether the compiler supports GNU C... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to enable C11 features... none needed > > checking whether gcc understands -c and -o together... yes > > checking dependency style of gcc... none > > checking build system type... x86_64-pc-linux-gnu > > checking host system type... x86_64-pc-linux-gnu > > checking for ld used by gcc... /usr/bin/ld > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > checking for shared library run path origin... done > > checking for root user... yes > > configure: error: You cannot build Sage as root, switch to an > unprivileged user. (If building in a container, use --enable-build-as-root.) > > > > I understand I cant run make as root but to run configure I need to be > root. As for the version, on the Sagemath download it said 9.5 for my > version of Linux. > > Sorry, you apparently want to build Sage from source. Then you need to > download the sources: > https://doc.sagemath.org/html/en/installation/index.html#linux > from > https://github.com/sagemath/sage/releases > > Nothing there says you need version 9.5 for anything. > We stopped shipping pre-built binary Linux versions of Sage a while > ago (the last such were released for Sage 9.4, as far as I know) > > > > > > Any help is appreciated > > > > On Sunday, 16 July 2023 at 19:41:09 UTC+10 David Joyner wrote: > >> > >> On Sun, Jul 16, 2023 at 5:33 AM Tim M <typica...@gmail.com> wrote: > >>> > >>> Good evening all, I am trying to run make but get the following error. > >>> make build/make/Makefile --stop > >>> make[1]: Entering directory '/home/macka/Sage/sage-9.5' > >>> rm -f config.log > >>> mkdir -p logs/pkgs > >>> ln -s logs/pkgs/config.log config.log > >>> > **************************************************************************** > >>> error: Sage source tree is unconfigured. Please run "./configure" > first. > >>> note: Type "./configure --help" to see the available configuration > options. > >>> > **************************************************************************** > >>> make[1]: *** [Makefile:55: build/make/Makefile] Error 1 > >>> make[1]: Leaving directory '/home/macka/Sage/sage-9.5' > >>> make: *** [Makefile:38: base-toolchain] Error 2 > >>> > >>> I have run ./configure many times but nothing changes. > >>> > >> > >> > >> What is the output of ./configure? > >> > >> Note the latest stable version is 10.0, not 9.5. > >> > >> > >> > >>> Any help would be much appreciated. > >>> > >>> -- > >>> 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...@googlegroups.com. > >>> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/c1bee291-ec60-4dd5-a11b-4c99383ba5e5n%40googlegroups.com > . > > > > -- > > 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...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/cf56e976-9da2-4a92-a0bf-dd65d51d268fn%40googlegroups.com > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/f341b7ad-7fc6-455f-ae33-ae804cef12d3n%40googlegroups.com.