user593301
user593301

Reputation: 913

Cygwin Make bash command not found

I installed cygwin with all the packages on windows 7 64 bit. For some reason the make command is giving me an error: bash make: command not found. I checked and in my bin folder, there is no make.exe. Can anyone help me on this? I really need make to work in CYGWIN. I dont wanna have to go to windows xp.

Upvotes: 82

Views: 167497

Answers (9)

if you have apt-cyg , then you are done with one command

apt-cyg install make

if you don't have apt-cyg , then install it as it will simplify your life.

Upvotes: 2

VietHuong
VietHuong

Reputation: 189

follow some steps below:

  1. open cygwin setup again

  2. choose catagory on view tab

  3. fill "make" in search tab

  4. expand devel

  5. find "make: a GNU version of the 'make' ultility", click to install

  6. Done!

Upvotes: 14

Achie1
Achie1

Reputation: 387

I faced the same problem too. Look up to the left side, and select (full). (Make), (gcc) and many others will appear. You will be able to chose the search bar to find them easily.

Upvotes: 0

neuro
neuro

Reputation: 15180

You probably have not installed make. Restart the cygwin installer, search for make, select it and it should be installed. By default the cygwin installer does not install everything for what I remember.

Upvotes: 79

langlauf.io
langlauf.io

Reputation: 3191

I had the same problem and it was due to several installations of cygwin.

Check the link (the icon) that you click on to start the terminal. In case it does not point to the directory of your updated cygwin installation, you have the wrong installation of cygwin. When updating, double check the location of cygwin, and start exactly this instance of cygwin.

Upvotes: 1

Suvadeep panthy
Suvadeep panthy

Reputation: 81

Follow these steps:

  1. Go to the installer again
  2. Do the initial setup.
  3. Under library - go to devel.
  4. under devel scroll and find make.
  5. install all of library with name make.
  6. click next, will take some time to install.
  7. this will solve the problem.

Upvotes: 8

Divyanshu Srivastava
Divyanshu Srivastava

Reputation: 51

I faced the same problem. Follow these steps:

  1. Goto the installer once again.
  2. Do the initial setup.
  3. Select all the libraries by clicking and selecting install (the one already installed will show reinstall, so don't install them).
  4. Click next.
  5. The installation will take some time.

Upvotes: 0

vicky sable
vicky sable

Reputation: 65

when selecting packages at installation or update search for 'make' in searchbox and select the boxes showing 'make' and also 'gcc' mostly found in devel package.

Upvotes: 5

Mateusz
Mateusz

Reputation: 1179

While instaling (updating) check 'Devel' to 'Install', it will install a lot of MB but helps. I don't have time to check which exacly I (we) need.

CYGWIN INSTALL STEP

Upvotes: 88

Related Questions