Bash:make:即使安装了msys-make pakage,也找不到命令

时间:2020-01-26 17:02:17

标签: bash git

标题中的错误是我尝试使用make时在Windows 10上的Bash上出现的问题,但我确实阅读了许多技巧,而当我尝试mingw-get install msys-make时似乎没有任何提示。

我收到错误消息,它已经安装在我的电脑上。现在我不知道该怎么办,即使安装了软件包,bash: make: command not found仍然存在。另一方面,我确实将几乎所有可能的路径添加到PATH,有时错误更改为

/mingw64/make-4.3/tests/scripts/variables/make: line 3: =: command not found
/mingw64/make-4.3/tests/scripts/variables/make: line 5: =: command not found
/mingw64/make-4.3/tests/scripts/variables/make: line 7: syntax error near unexpected token `q!'
/mingw64/make-4.3/tests/scripts/variables/make: line 7: `run_make_test(q!'

1 个答案:

答案 0 :(得分:0)

您应该将其路径添加到$ PATH变量中,然后重新启动Windows。操作系统在重启后会更新病毒。