Hmmm... to answer my own problem... replacing "next" by "exit 1" seems
to solve the problem (i.e., runs with mawk just fine). It would anyway
be better not to ignore missing braces for \spad{...} commands.Ralf On 9/8/20 10:20 PM, Ralf Hemmecke wrote: > Waldek, > > I usually install gawk on my machine, but on testing Debian 10 I didn't. > FriCAS configure ran fine with the default mawk, but failed at my ht.awk > script in the "formatted" branch. > > mawk complained about the "next" in line 554. > > https://github.com/hemmecke/fricas/blob/formatted/src/doc/ht.awk#L554 > > Before a try to look what is to be changed, can you confirm that FriCAS > should run fine with any awk? > > The code in configure.ac > https://github.com/hemmecke/fricas/blob/formatted/configure.ac#L101 > claims at least for solaris9 that gawk is needed. > > Is FriCAS supposed to work with mawk? Can we require gawk in general or > would you rather like to be able to build with any awk? > > If it is any awk, then what is the language that is accepted for FriCAS > awk scripts, since there are quite a few differences between the various > awks. > > In that "any awk case", it would be helpful to know the reason why mawk says > > make[3]: Entering directory '/home/hemmecke/scratch/fricas/src/doc' > mawk -f /home/hemmecke/g/fricas/src/doc/ht.awk > /home/hemmecke/g/fricas/src/doc/htex/ug02.htex tmp > ug02.ht > mawk: /home/hemmecke/g/fricas/src/doc/ht.awk: line 554: improper use of next > make[3]: *** [Makefile:477: ug02.ht] Error 2 > > 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/4cb6362b-adcf-3b9c-768d-257697025f4f%40hemmecke.org.
