Thanks for the reply. It turns out that on this machine there were a number of aliases set, e.g. "rm" was aliased to "rm -i". And this broke the build in this quite unpleasant way.
Perhaps one should check that hand-written build scripts (autoconf etc are clever enough to explicitly put "rm -f" everywhere) in FriCAS don't use "rm" without "-f". (there is at least one such place in configure.ac - but it doesn't look like the one that caused all this havoc) Cheers Dima On Wed, Jan 25, 2023 at 7:17 PM Waldek Hebisch <[email protected]> wrote: > > On Wed, Jan 25, 2023 at 10:10:23AM -0800, Dima Pasechnik wrote: > > basically, no floating point support, no polynomials - due to fas files > > SMP.fas and FLOAT.fas absent. > > > > Indeed, there is no FLOAT.fas: > > > > $ ls /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/FLO*.fas > > /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/FLOATCP.fas > > /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/FLOATRP.fas > > > > and no SMP.fas: > > > > ls /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/SMP*.fas > > /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/SMPCOER.fas > > /tmp/lib/fricas/target/x86_64-linux-gnu/algebra/SMPEXPR.fas > > > > Here is what I get at the FriCAS prompt: > > > > 1) -> x^2 > > > > >> System error: > > Filesystem error with pathname > > #P"/tmp/lib/fricas/target/x86_64-linux-gnu/algebra/SMP.fas". > > Either > > 1) the file does not exist, or > > 2) we are not allowed to access the file, or > > 3) the pathname points to a broken symbolic link. > <snip> > > Any idea what it could be? > > Looks like undetected build/instal failure. Startup log is rather > uninteresting here: when those files are missing those are > exactly expected error message. To diagnose one should look > at build log. First, I would suggest to get float.spad and > multpoly.spad from source tarball and try: > > )compile float.spad > )compile multpoly.spad > > This should produce bunch of directories including FLOAT.NRLIB > and SMP.NRLIB. Inside FLOAT.NRLIB there should be FLOAT.fas, > inside SMP.NRLIB there should be SMP.fas. In correctly > working FriCAS newly compiled files will be used in preference > to files from installation, so if the above compile commands > worked float/poly things should work. More likely you will > see some failure message. Anyway, this should localize where > the problem is (install or compile). > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/20230125200115.vwofjk5q65tcbpw2%40fricas.math.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAAWYfq0KWjRddgGkrUaEVPV67yk0Lv_9CUNDMKS7HAy94wURnA%40mail.gmail.com.
