Compiling and using master on macOS
Enrico Forestieri
forenr at lyx.org
Sat Jul 11 10:57:08 UTC 2020
On Sat, Jul 11, 2020 at 09:07:28AM +0200, Daniel wrote:
>
> bash-3.2$ sh autogen.sh
> : command not found
> : command not found:
> : command not found:
> 'utogen.sh: line 18: syntax error near unexpected token `in
> 'utogen.sh: line 18: `case $automake_version in
I think you may have wrong line endings in autogen.sh. Try running file
on it. If you get
$ file autogen.sh
autogen.sh: POSIX shell script, ASCII text executable
I am wrong, otherwise if you get
$ file autogen.sh
autogen.sh: POSIX shell script, ASCII text executable, with CRLF line terminators
then you can try
$ dos2unix autogen.sh
to get rid of the wrong line endings. In this case, check your git
configuration about the setting of "autocrlf". You may have it configured
for Windows instead of unix.
--
Enrico
More information about the lyx-devel
mailing list