Hi, I think I spotted the problem. The script 'fricas' in: /usr/local/lib/fricas/target/x86_64-linux-gnu/bin/ is not usable as it is, it's the same script then the one in /usr/local/bin (try directly the one in /usr/local/lib/fricas/target/x86_64-linux-gnu/bin/).
Since now FRICAS environment variable is defined in this script it should be different in /usr/local/lib/fricas/target/x86_64-linux-gnu/bin/ These two scripts define FRICAS as: FRICAS="`dirname $0`/../lib/fricas/target/x86_64-linux-gnu" This is only correct for the script in /usr/local/bin So for example redefine FRICAS to "`dirname $0`/.." and that's good! (just tested with efricas). Le lun. 26 avr. 2021 à 13:25, Waldek Hebisch <hebi...@math.uni.wroc.pl> a écrit : > > On Mon, Apr 26, 2021 at 07:51:27AM +0200, Gr??gory Vanuxem wrote: > > Hello, > > > > I wonder why in my WSL installation of FriCAS (from github) > > in the script 'efricas' FRICASCMD points to /usr/local/lib/X86_64/bin/fricas > > but in my installation 'fricas' fricas' is located in /usr/local/bin. > > > > Any idea why? > > I do not know why the specific path. However, 'efricas' is supposed > to use internal copy of 'fricas' script. This is because installed > command can be renamed and 'efricas' has no way of knowing if/how > user renamed installed 'fricas'. OTOH internal script is in > version specific subdirectory and should be always available via > configure path. > > The path you gave looks fishy, it should be something like > > /path/to/fricas/lib/dir/target/platform/bin > > Where by default '/path/to/fricas/lib/dir' is '/usr/local/lib/fricas' > and 'platform' is name of platform in 'configure' (I have no idea > what platform name is used by WSL). > > -- > Waldek Hebisch > > -- > 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 fricas-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/20210426112455.GA17140%40math.uni.wroc.pl. -- 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 fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAHnU2dYQmi9Zq0RkxXFuT12dnsSQhGAq-HEOkMAO%3D_eXtbnCcg%40mail.gmail.com.