Perhaps I found a solution. Apparently the sdh_* shell functions are defined in $SAGE_ROOT/build/bin/sage-dist-helpers. Sourcing, so it seems, makes the spkg-install script work.
Best regards, Simon On 2019-07-30, Simon King <simon.k...@uni-jena.de> wrote: > Hi Dima, > > On 2019-07-30, Dima Pasechnik <dimp...@gmail.com> wrote: >> just fix the PATH, no? >> >> It should include SAGE_ROOT/src/bin, SAGE_ROOT/build/bin, etc > > Apparently sage -sh is fixing the path: > > $ ~/Sage/git/sage/sage -sh -c 'echo $PATH' > /home/king/Sage/git/sage/local/libexec/ccache:/home/king/Sage/git/sage/build/bin:/home/king/Sage/git/sage/src/bin:/home/king/Sage/git/sage/local/bin:/home/king/bin:/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > $ echo $PATH > /home/king/bin:/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > > If I understand correctly, the sdh_* thingies aren't executables (but I > don't know what they are instead -- macros for the shell language?). > I guess that's why the path is not enough. > > Best regards, > Simon > -- 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/qhq85b%2474l4%241%40blaine.gmane.org.