I am trying to build a Linux project in windows 7 environment usign cygwin. However I am continuously getting below error while configuring make
for cygwin installation.
-bash: make: command not found
After searching on inernet the only solution is re running of setup and installed make
package. I have installed automake1.15 but it is in noarch
folder and there is no binary make.exe
in bin folder.
There's a big difference between the 2:
So you need to select Make from Cygwin setup.
Notes:
For more (generic) details, check [Cygwin]: Installing and Updating Cygwin Packages.
[Cygwin]: Cygwin FAQ - Does the Cygwin Setup program accept command-line arguments? might also be a good starting point for command line options (check [SO]: Installing Make in Cygwin (@PJain's answer)).
Final note: Cygwin is kind of obsolete. Switch to WSL(2), which runs a real Ubuntu (no wrappers / adapters) as a VM (in Hyper-V - which runs at a totally different level).