I meant when user do not use "bin/fricas", but double click
"bin/FriCASsys" directly. In such case, env var "FRICAS"
is not set, but I want to make it work as well. This can
also be useful for development as well, we can skip to
set env var each time. Also can be useful if we have a bunch
of different fricas in different directories (for testing
purpose), then it's convenient to run "bin/FriCASsys" directly
without setting "FRICAS" env var.
- Qian
On 3/16/21 6:16 PM, Ralf Hemmecke wrote:
Seems now when FRICAS is not set, the FriCASsys will look
at the build time path.
Oh... where is the fricas script then? AFAIK FRICASsys relies on the
environment variable FRICAS to be set. No idea how this is on Windows,
though. Shouldn't fricas be started by the script and that script must
set the FRICAS variable? Perhaps you must ask the user to adapt the path
in the script, if s/he doesn't install into the default system localtion.
I want to add another fallback
that it should check its runtime path's parent directory.
(aka /xxx/bin/FriCASsys should check /xxx/)
As a fallback I think that would be acceptable. I'm not sure whether
that should come together with a warning about a missing value for the
FRICAS variable or whether such a warning is just useless noise.
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/26e65fb0-950e-282f-a2e9-6c00430a62db%40gmail.com.