ok, i dont know if this "solved" the problem, but it works now.
i included the /cgwyin/bin directory in the windows PATH variable. is this a good idea?
Main Topics
Browse All TopicsI am trying to install openssl. I run these commands in cygwin:
./configure
make
when i run 'make', i get this error: bash: make: command not found
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I certainly do not have it set and use cygwin ok. BUT I launch cygwin using a small .bat file containing:
@echo off
C:
chdir C:\cygwin\bin
bash --login -i
which I believe is what is put on your desktop by default. I suppose that if you wish to run bash by just typing "bash" at the windows command prompt (say from a bigger batch script) then setting C:\cygwin\bin into the windows PATH would be necessary. I cannot see why it would be a really bad idea.
Remember though that the cygwin PATH is derived from the windows path by adding the necessary relative paths from the cygwin root "/" so you do NOT need that to launch programs from cygwin (since /bin is in the cygwin PATH)
Normally "/" is C:\cygwin
You can see all this by typing "echo $PATH" at the cygwin command prompt.
I have always added the cygwin/bin to the windows PATH and used make from a regular WINDOWS command shell. However, (isn't there always one) you have to be careful about file references and the latest MAKE really dislikes WINDOWS style file references in the .dep files so none of this C:\..\.. stuff. it will go through the CYGWIN mount points to resolve everything.
first of all. type the command echo $PATH in cygwin
then, you can get the enviroment of PATH
and you have to search deeply in the $PATH, make sure that is there really an executable file named 'make.exe' or other type case insenstive.
If there not, well, I think it shouldn't has one
You check the path where you cygwin installed, such as
c:\cygwin
check that c:\cygwin\bin\make.exe exists or not.
If not, run the setup.exe which you installed your cygwin again, choose install, and choose a mirro, and then in the software list, choose the make software, and click the next button to install it.
If there is no error, then, you can make your Makefile now.
Have fun
Business Accounts
Answer for Membership
by: SanktwoPosted on 2007-03-29 at 01:39:05ID: 18814395
It looks like you have not loaded your development tools.
First try "whereis make" and if that says "not found" launch setup.exe of cygwin after closing cygwin itself.
Carry on through the setup screens until you get to the "select packages" screen and go to "devel".
Select "default" for "devel". You can open up devel and see if make is selected. Also should have compiler etc selected by default.
After downloading and installing default development tools, relaunch cygwin and do the "whereis" again before trying .configure etc.