Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

CYGWIN help:    bash: make: command not found

Posted on 2007-03-28
6
19,242 Views
Last Modified: 2013-11-15
I 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
0
Comment
Question by:Oscurochu
6 Comments
 
LVL 6

Expert Comment

by:Sanktwo
ID: 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.
0
 
LVL 5

Author Comment

by:Oscurochu
ID: 18821526
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?
0
 
LVL 6

Accepted Solution

by:
Sanktwo earned 20 total points
ID: 18824123
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.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 25

Expert Comment

by:Lee Savidge
ID: 18831676
Hi,

I may have missed something here, but openssl is a standard cygwin package. Run the setup.exe and just pick it off the installer package list. It will do it all for you.

Regards,

Lee
0
 
LVL 3

Expert Comment

by:jimmyd072298
ID: 18851483
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.
0
 

Expert Comment

by:sunny651
ID: 20271086
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
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question