Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bash 尝试编译Kaya源代码时出错_Bash_Compiler Errors - Fatal编程技术网

Bash 尝试编译Kaya源代码时出错

Bash 尝试编译Kaya源代码时出错,bash,compiler-errors,Bash,Compiler Errors,我试图在Ubuntu虚拟机上编译一些用Kaya编写的源代码。我正在使用找到的kayac编译器。为了编译这段代码,我需要运行的特定文件名为buildCurses.sh,它的全部内容是 #!/bin/sh kayac -force -nortchecks DisplayCurses.k kayac -force -nortchecks main.k 但是,当我尝试运行$./kayac.1buildcurses.sh时,会收到错误消息 ./kayac.1: line 1: syntax error

我试图在Ubuntu虚拟机上编译一些用Kaya编写的源代码。我正在使用找到的kayac编译器。为了编译这段代码,我需要运行的特定文件名为buildCurses.sh,它的全部内容是

#!/bin/sh

kayac -force -nortchecks DisplayCurses.k
kayac -force -nortchecks main.k
但是,当我尝试运行$./kayac.1buildcurses.sh时,会收到错误消息

./kayac.1: line 1: syntax error near unexpected token `newline'
./kayac.1: line 1: `.\" Man page Copyright 2005-2007 Chris Morris <c.i.morris@dunelm.org.uk>'
如何使用kayac进行编译

buildCurses.sh: line 3: kayac: command not found
buildCurses.sh: line 4: kayac: command not found