MINGW64“make build”错误:“bash: make: command not found”

新手上路,请多包涵

我在 Windows 10 上工作。我想在 MINGW64 中运行“make build”,但出现以下错误:

 $ make build
bash: make: command not found

我想 为 Golang 构建 Glide

我试过以下:

 $ sudo yum install build-essential
bash: sudo: command not found

也:

 $ yum install build-essential
bash: yum: command not found

和:

 $ apt-cyg build-essential
bash: apt-cyg: command not found

我怎样才能“解决”这个问题?

原文由 user5845158 发布,翻译遵循 CC BY-SA 4.0 许可协议

阅读 2.1k
2 个回答
  • 转到 ezwinports, https: //sourceforge.net/projects/ezwinports/files/

  • 下载make-4.2.1-without-guile-w32-bin.zip(获取没有guile的版本)

  • 解压缩

  • 将内容复制到 C:\ProgramFiles\Git\mingw64\ 合并文件夹,但不要覆盖/替换任何现有文件。

原文由 Vallabha Vamaravelli 发布,翻译遵循 CC BY-SA 3.0 许可协议

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题