On Wed, May 6, 2020 at 12:38 AM Duston, Christopher
<
dus...@merrimack.edu> wrote:
>
> Oh man, you are right, and it means the SlackBuilds Package installer is doing something I wasn't exactly aware of:
>
> $ sage -sh
>
> Starting subshell with Sage environment variables set. Don't forget
> to exit when you are done. Beware:
> * Do not do anything with other copies of Sage on your system.
> * Do not use this for installing Sage packages using "sage -i" or for
> running "make" at Sage's root directory. These should be done
> outside the Sage shell.
>
> Bypassing shell configuration files...
>
> Note: SAGE_ROOT=/opt/sage
> (sage-sh) c$ echo $SAGE_LOCAL
> /tmp/SBo/sage-9.0/local
> (sage-sh) $ ls -l $SAGE_LOCAL/bin/sage
> ls: cannot access '/tmp/SBo/sage-9.0/local/bin/sage': No such file or directory
>
> So /tmp/SBo is the default location where Slackbuilds is putting packages, but.... I'm low on space, so I've got a script running which empties this directory after every relog. That's the issue.
>
> So a) I have to figure out if using temp like that is really all that smart in general, and b) get the SlackBuild script to move the package directory after installation.
Can't you build in place, i.e. already in /opt/sage/local in your case?