On Tue, May 5, 2020 at 9:05 PM Duston, Christopher <dust...@merrimack.edu> wrote: > > bash-4.3$ set | grep SAGE > bash-4.3$ > > No response, so no environmental variables set there.
the error message you see comes from src/bin/sage: # Prepare for running Sage, either interactively or non-interactively. sage_setup() { # Check that we're not in a source tarball which hasn't been built yet (#13561). if [ ! -z "$SAGE_LOCAL" ] && [ ! -x "$SAGE_LOCAL/bin/sage" ]; then echo >&2 '************************************************************************' echo >&2 'It seems that you are attempting to run Sage from an unpacked source' [etc.] ---------------- So it looks as if SAGE_LOCAL is set (in /opt/sage/sage) to something that does not contain bin/sage. Try starting Sage shell: $ sage -sh and at its prompt, do $ echo $SAGE_LOCAL $ ls -l $SAGE_LOCAL/bin/sage (if sage -sh won't start you'd need to do some debugging to dig up $SAGE_LOCAL) HTH Dima > > On Tue, May 5, 2020 at 11:53 AM Dima Pasechnik <dimp...@gmail.com> wrote: >> >> On Tue, May 5, 2020 at 4:00 PM Christopher Duston <dust...@merrimack.edu> >> wrote: >> > >> > I'm working on an install script for Slackware, which seems to work - at >> > least, running "sage" after compiling everything gets sage to run as >> > expected. >> > >> > However, a few days later: >> > >> > $ sage >> > ************************************************************************ >> > It seems that you are attempting to run Sage from an unpacked source >> > tarball, but you have not compiled it yet (or maybe the build has not >> > finished). You should run `make` in the Sage root directory first. >> > If you did not intend to build Sage from source, you should download >> > a binary tarball instead. Read README.txt for more information. >> > ************************************************************************ >> > >> > >> > So this message is apparently the result of a few different issues, but >> > none of them seem to match. For example, there is the relocate-once script >> > to handle a Python-related recursion problem, but that error does not >> > appear. However, something is clearly getting reset in my system after I >> > relog. >> > >> > For some more info (and I hope evidence I've got a full installation): >> > >> > $ which sage >> > /opt/sage/sage >> > bash-4.3$ ls /opt/sage >> > #sage# README.md build config.status configure.orig m4 >> > src >> > COPYING.txt VERSION.txt config configure docker sage >> > Makefile bootstrap config.log configure.ac local sage~ >> > >> perhaps some environment variables are set which should not be set. >> >> Anything with SAGE in the name would be a suspect. >> >> What is the output of >> >> $ set | grep SAGE >> >> in your shell? >> >> > >> > Thoughts? >> > >> > -- >> > 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/e96f13e7-9ae4-4f57-a61f-c225f438365e%40googlegroups.com. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sage-support" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-support/zUPJAknTTsg/unsubscribe. >> To unsubscribe from this group and all its topics, 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/CAAWYfq1x13UETmpog%3DrHTt%2B9aEv4KK7bo04qYw7oo2TH2dD6Pg%40mail.gmail.com. > > > > -- > Christopher L Duston > Assistant Professor of Physics > Director of the Merrimack Observatory > Merrimack College > Mendel 223 > dust...@merrimack.edu > (978) 837 3491 > > -- > 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/CA%2BKCAHF1FJNd%3DZHoTQhPYXu4eUhuZ4%3DAwJK32nZEBj2KWx5G8g%40mail.gmail.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/CAAWYfq0s%2BD%2BiFKrAS42ntohf-yPw5Up%3DBeGDY2w%3D7eXZVhevZw%40mail.gmail.com.