Search code examples
bashgomakefilemingwglide-golang

MINGW64 "make build" error: "bash: make: command not found"


I am working on Windows 10. I want to run a "make build" in MINGW64 but following error comes up:

$ make build
bash: make: command not found

I want to build Glide for Golang

I tried following:

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

As well as:

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

And:

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

How can I "work-around" this problem?


Solution

  • You have to install mingw-get and after that you can run mingw-get install msys-make to have the command make available.

    Here is a link for what you want http://www.mingw.org/wiki/getting_started