On 9/24/23 22:41, Waldek Hebisch wrote:

Removing use of $spadroot from initroot gives sucessful build and
testsuite passes.  Starting FRICASsys without seting FRICAS
gives

FRICAS="target/x86_64-linux-gnu/bin//../"
spad-lib="target/x86_64-linux-gnu/bin//..//lib/libspad.so"

which works, but since paths are relative could be broken by
change of current directory:

(1) -> )cd ..
    The current FriCAS default directory is /home/hebisch/fricas/axp1
(1) -> integrate(sin(x), x)
>> System error:
    Couldn't load "target/x86_64-linux-gnu/bin//..//algebra/EXPR.fasl": file 
does
not exist.

Also, double slashes may cause trouble (IIRC GCL had trouble with
double slashes.


We can get rid of relative path and double slashes by lisp function
"truename".

I'll make this change later if there are no objections.

- Qian

--
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/263191ec-6ef1-4c3b-969b-cc2c00d1e122%40gmail.com.

Reply via email to