On Tue, Mar 16, 2021 at 07:37:44PM +0800, Qian Yun wrote:
> The error I mentioned in previous email about endless loop
> invoking "viewman" on macOS can be easily reproduced on Linux
> as well:
>
> Simple build with "--with-x=no", then a default "FRICAS=. ./bin/fricas"
> will end up with endless:
>
> /bin/sh: line 1: /tmp/fricas/target/x86_64-linux-gnu/lib/viewman: No such
> file or directory
>
> This is caused by d1b3fa941ad7b01f9e33f8b952db3a54158a9b60 in 2020-04-17
Good catch.
<snip>
> The fix would be:
>
> diff --git a/src/etc/fricas b/src/etc/fricas
> index 35a881d6..2fa42b85 100644
> --- a/src/etc/fricas
> +++ b/src/etc/fricas
> @@ -135,7 +135,7 @@ fi
>
> if [ ! -f $FRICAS/bin/hypertex ]; then
> echo "hypertex not present, disabling"
> - otheropts="-noht"
> + otheropts="$otheropts -noht"
> fi
OK, please commit.
--
Waldek Hebisch