Dear Stuart, thanks for the message. We don't test Sagemath on machines with Mathematica installed, sorry. Do you actually have a working Mathematica installation? Sage is able to use terminal interface to it, using "math" command. Does typing "math" (without quotes) in the terminal give you a Mathematica prompt? A quick and dirty way to disable the interface (which can be buggy) is to remove the path to "math" from the PATH environment variable, and re-run make.
To get the path in question, type "which math" (without quotes) in the terminal. It will output something like /foo/bar/baz/math and you'd need to make sure "/foo/bar/baz/" is not in PATH. HTH Dima PS. If anyone is willing to try to set up a CI test for math, one needs to follow something like https://github.com/WolframResearch/WL-FunctionCompile-CI-Template PRs to incorporate this are welcome. On Sun, Jul 6, 2025 at 12:02 PM Stuart Anderson <stuart.errol.ander...@gmail.com> wrote: > > my terminal showed; > Setting up build directory > /home/stuart/Sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none > Host system: Linux stuart-i7-3060 6.11.0-29-generic #29~24.04.1-Ubuntu SMP > PREEMPT_DYNAMIC Thu Jun 26 14:16:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux > C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper, > OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa, OFFLOAD_TARGET_DEFAULT=1, > Target: x86_64-linux-gnu, Configured with: ../src/configure -v > --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' > --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs > --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr > --with-gcc-major-version-only --program-suffix=-13 > --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id > --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix > --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace > --enable-gnu-unique-object --disable-vtable-verify --enable-plugin > --enable-default-pie --with-system-zlib --enable-libphobos-checking=release > --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch > --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 > --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic > --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr > --enable-offload-defaulted --without-cuda-driver --enable-checking=release > --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu > --with-build-config=bootstrap-lto-lean --enable-link-serialization=2, Thread > model: posix, Supported LTO compression algorithms: zlib zstd, gcc version > 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) > No stamp file for package 'sagemath_doc_html' in > /home/stuart/Sage/sage/local/var/lib/sage/installed > No spkg-legacy-uninstall script; nothing to do > [spkg-install] mkdir -p en/reference/repl > [spkg-install] sage -advanced > en/reference/repl/options.txt > [spkg-install] make doc-inventory--reference-references > [spkg-install] sage --docbuild --no-pdf-links reference/references inventory > > After waiting about 12 hours I pressed control C twice to abort the > installation, then I received these terminal messages; > > [spkg-install] [reference] Interrupting Mathematica... > [spkg-install] [reference] Interrupted! > [spkg-install] make[6]: *** [Makefile:28: > doc-inventory--reference-references] Interrupt > [spkg-install] make[5]: *** [Makefile:44: doc-inventory-reference] Interrupt > ************************************************************************ > Error installing package sagemath_doc_html-none > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the log files > /home/stuart/Sage/sage/logs/pkgs/sagemath_doc_html-none.log > and > /home/stuart/Sage/sage/config.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /home/stuart/Sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none and > type 'make' or whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd > '/home/stuart/Sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none' && > '/home/stuart/Sage/sage/sage' --buildsh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > details of my hardware and the config.log and sagemath_doc_html-none.log > attached > > -- > 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 visit > https://groups.google.com/d/msgid/sage-support/854e453b-f459-49c7-a5be-0372b8224155n%40googlegroups.com. -- 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 visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1Pj%2BmzF4z8JiC-GTJVzwHuzBo%2Bse9LXdgoWmqVNqP0GQ%40mail.gmail.com.