473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get make to work under Cygwin bash shell

I have an older version of Cygwin (B20) under which "make" works fine.
I recently installed the latest version of Cygwin. When I type
"make" at the command prompt, I get the message:

bash: make: command not found

I have a Makefile in the local directory and ran a ./configure script
which ran successfully.

So how do I configure my bash shell to recognize the make command ?
When I look at my environment variables, the only variable related to
make is:

MAKE_MODE=unix

which I'm sure doesn't have any bearing on this.

I'm sure the answer is something simple. It's been a while since I
used makefiles.

Can anyone help me ?
Nov 14 '05 #1
3 15988

"brianj" <br***********@ villanova.edu> wrote in message
news:9c******** *************** **@posting.goog le.com...
I have an older version of Cygwin (B20) under which "make" works fine.
I recently installed the latest version of Cygwin. When I type
"make" at the command prompt, I get the message:

bash: make: command not found

I have a Makefile in the local directory and ran a ./configure script
which ran successfully.

So how do I configure my bash shell to recognize the make command ?
When I look at my environment variables, the only variable related to
make is:

MAKE_MODE=unix

which I'm sure doesn't have any bearing on this.

I'm sure the answer is something simple. It's been a while since I
used makefiles.

Can anyone help me ?


Sure, as soon ask you ask for help with the C language,
which does not cover 'make' or particular platforms.

See:
http://www.angelfire.com/ms3/bchambl...me_to_clc.html

-Mike
Nov 14 '05 #2
Mac
On Tue, 10 Feb 2004 14:15:02 +0000, brianj wrote:
I have an older version of Cygwin (B20) under which "make" works fine.
I recently installed the latest version of Cygwin. When I type
"make" at the command prompt, I get the message:

bash: make: command not found

I have a Makefile in the local directory and ran a ./configure script
which ran successfully.

So how do I configure my bash shell to recognize the make command ?
When I look at my environment variables, the only variable related to
make is:

MAKE_MODE=unix

which I'm sure doesn't have any bearing on this.

I'm sure the answer is something simple. It's been a while since I
used makefiles.

Can anyone help me ?

This question is off-topic, but it sure sounds like you didn't install
make. I'm sure cygwin has a mailing list or something. You could try
asking for help there.

regards,
Mac

Nov 14 '05 #3
Mac wrote:
This question is off-topic, but it sure sounds like you didn't install
make. I'm sure cygwin has a mailing list or something. You could try
asking for help there.

They have a few different ones.
http://cygwin.com/lists.html

Brian Rodenborn
Nov 14 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8252
by: John Bowling | last post by:
I have a java (2.0) program with the following lines: String cmdArray1 = {"lp", "-d", "hp4m", "MyFile"}; System.out.println(Runtime.getRuntime().exec(cmdArray1)); It compliles properly, but does not print the file to the printer. It displays the following as the return from Runtime...: java.lang.UNIXProcess@1034bb5
7
2757
by: Robin Becker | last post by:
I wonder if this is the right way to write a medusa(asyncore) server with the win32all framework. Other example services seem to create an event to pass the stop signal from SvcStop into a separate termination method, but I'm unsure how that would mix with the polling loop. This simple framework seems to start and stop OK, but I wonder if I'm missing some obvious race or something.
2
14351
by: Jorgen Grahn | last post by:
I couldn't think of a good solution, and it's hard to Google for... I write python command-line programs under Win2k, and I use the bash shell from Cygwin. I cannot use Cygwin's python package because of a binary module which has to be compiled with Visual C 6. My scripts start with a '#!/usr/bin/env python' shebang, as God intended. Now, I assume I can make cmd.exe run foo.py by asociating *.py with the python interpreter.
2
2978
by: Eric Woudenberg | last post by:
I just installed a Python 2.3.4 Windows binary on a friend's WinXP machine (because the latest Cygwin-provided Python 2.3 build leaves out the winsound module for some reason). When I try and run this newly installed Python from bash it just hangs (no version message, no prompt, CPU is idle). When I run it from IDLE, or the DOS CMD prompt, it runs fine. Also, Python scripts using the new version run fine, even invoked on the bash command...
22
3059
by: Ryan M | last post by:
I've been programming for a while, but most of my experience is on unix. How do C compilers work on operating systems that weren't written in C? And that have no libc? Compiling C on unix seems so easy. Everything in the code either goes right to machine code, or links to a C library (often libc) or links to the kernel. Are there libc equivalents on non-unix OSes? -- Using M2, Opera's revolutionary e-mail client:...
4
14052
by: reachsamdurai | last post by:
Hello, Can you please let me know the procedure to reach db2 command prompt from a cygwin window (hence without using Start-> Run -> db2cmd method). I'm planning to write shell scripts which accesses DB2 database on windows platform hence I installed cygwin but I'm unable to connect to database as it fails with the error message. $ db2 DB21061E Command line environment not initialized.
2
3541
by: Hans Horn | last post by:
Folks, I used to be able to access db2 (v8 and prior) from within a cygwin bash shell after doing some tricks with the DB2CLP variable (see http://www.cygwin.com/ml/cygwin/2003-02/msg00635.html). e.g. (w/i bash shell): export DB2CLP=$CLP_SAVE # saved during db2cmd session db2 connect to mydb
4
3745
by: Gregory Bloom | last post by:
I'm running Python 2.5 under Windows. If I fire up IDLE and enter: it works like a champ, opening the page in Firefox. Same thing goes from a Windows cmd shell: it works as advertised. But if I open a cygwin bash shell and try the same thing from a python prompt, I get: Traceback (most recent call last):
6
1867
by: Frantisek Malina | last post by:
What is the best way to do the regular bash commands in native python? - create directory - create file - make a symlink - copy a file to another directory - move a file - set permissions I need to write a program that creates real application/FTP accounts
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.