gmake on Mac


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers gmake on Mac
# 1  
Old 10-26-2011
Data gmake on Mac

I am using my teminal on Mac to run some files with gmake, (I used unix before,but now I am trying to run it frm my mac) and I get the error message:

-bash: gmake: command not found

Any idea what the problem might be?

Thanks!
# 2  
Old 10-26-2011
It means exactly that. Either it's not on your path or it's not installed.

You can get the universal binaries here: CMake - Cross Platform Make
# 3  
Old 10-26-2011
Either gmake isn't installed, or it's not in your PATH. Likely not installed. You could see if it exists in either of these directories by using ls:

Code:
/usr/bin
/usr/local/bin

If it there, then you'll need to add the directory to your PATH.

Did you try just plain make? If that doesn't work, check out the GNU site and download it.

GNU Mirror List
# 4  
Old 10-26-2011
Install the XCode package.
Code:
[ZSH-4.3.12] ~ % make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin10.0

# 5  
Old 10-27-2011
Quote:
Originally Posted by verdepollo
It means exactly that. Either it's not on your path or it's not installed.

You can get the universal binaries here: CMake - Cross Platform Make
I installed it from the link you sent me, and when I used it I got this error:

Code:
CMake Error: The source directory does not exist.

---------- Post updated at 04:27 AM ---------- Previous update was at 04:11 AM ----------

Quote:
Originally Posted by agama
Either gmake isn't installed, or it's not in your PATH. Likely not installed. You could see if it exists in either of these directories by using ls:

Code:
/usr/bin
/usr/local/bin

If it there, then you'll need to add the directory to your PATH.

Did you try just plain make? If that doesn't work, check out the GNU site and download it.

GNU Mirror List
I installed :
make-3.82.tar.gz
from

http://mirrors.zerg.biz/gnu/make/

but I still get:

Code:
-bash: make: command not found

I installed in it the directory where I have the other files. Do I have to install it somewhere else?

---------- Post updated at 04:28 AM ---------- Previous update was at 04:27 AM ----------

Quote:
Originally Posted by xbin
Install the XCode package.
Code:
[ZSH-4.3.12] ~ % make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin10.0

In which directory do you have it installed?

Last edited by cosmologist; 10-29-2011 at 05:05 AM..
# 6  
Old 10-27-2011
Quote:
Originally Posted by xbin
Install the XCode package.
XCode installs gmake as just "make". If the script you're running is looking for "gmake" and not "make" then run this at the terminal and the XCode installed GNU make will been seen as gmake via the symlink:
Code:
sudo ln -s /usr/bin/make /usr/bin/gmake

# 7  
Old 10-29-2011
Quote:
Originally Posted by kalak
XCode installs gmake as just "make". If the script you're running is looking for "gmake" and not "make" then run this at the terminal and the XCode installed GNU make will been seen as gmake via the symlink:
Code:
sudo ln -s /usr/bin/make /usr/bin/gmake

I am sorry to bother you again, but I am still not sure how to make it work... this is what I did:

Code:
$ sudo ln -s /usr/bin/make /usr/bin/gmake
Password:
$ gmake
-bash: gmake: command not found

Smilie

Last edited by cosmologist; 10-29-2011 at 05:06 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Gmake

hi with regard that i am new with linux , i don't have any information about GNU make? is it a part of linux or it must be installed in linux separately? thanks in advance for you attention best regard fereshte (1 Reply)
Discussion started by: komijani
1 Replies

2. Solaris

Make and gmake issues

Hello I am working on a CPP code written for SUN CC 5.5 and make we used make to compile the code then it compilation went smooth now i am using gmake: I have a make file like this WSROOT=.. include $(WSROOT)/etc/wsmkinclude.common all: @for subdir in */Makefile; \ do \... (1 Reply)
Discussion started by: Revathi R
1 Replies

3. Programming

Make and gmake issues

Hello I am working on a CPP code written for SUN CC 5.5 and make we used make to compile the code then it compilation went smooth now i am using gmake: I have a make file like this WSROOT=.. include $(WSROOT)/etc/wsmkinclude.common all: @for subdir in */Makefile; \ do \... (1 Reply)
Discussion started by: Revathi R
1 Replies

4. Programming

GMAKE error returns - What does that mean ?

I am using xmake which I guess calls gmake which ... whatever. I get an error in my compiling and want to know what the error number means. For example, the message might be "Error 139". Rather then post the exact code fragment and exact output, I want to find the a list of error codes and... (1 Reply)
Discussion started by: intcwrtr
1 Replies

5. Programming

after gmake size of library gets changes

Hello, I have source code of c. When i compiled it using gmake my library gets created on AIX. But without changing the source code, if i try to do gmake each and every time then every time size of created library gets changed. Can anyone tell me why it's happening? Am i missing something in my... (3 Replies)
Discussion started by: mustus
3 Replies

6. Programming

what is the distinguish between gmake and make?

I am working on solaris 9. and use gmake to compile and linke c/c++ program. anybody can tell me the distinguish between gmake and make? :confused: (10 Replies)
Discussion started by: robin.zhu
10 Replies

7. UNIX for Advanced & Expert Users

CPAM_TWW -gmake utilities

Hi CPAM-TWW, We need to know Whether CPAM-TWW ( cross platform application Management) package comes along With HP-UX11i . if so , Please get Which package needs to be triggered during installation ( We are more intrested on TWWgmake and TWWutilites( 3rd party software The Written Word)) ... (0 Replies)
Discussion started by: vasanthan
0 Replies

8. AIX

gmake For AIX 5.3

hello everybody i will be very thankful if someone tells me where i can find the gmake for AIX 5.3 (2 Replies)
Discussion started by: eternalflame
2 Replies

9. UNIX for Dummies Questions & Answers

gmake

Can somebody tell me about "gmake "utility and its apparent advantage with "Imake" and "Make".??? can somebody send me the URLs where I can get more material on above topics? (1 Reply)
Discussion started by: Abhishek
1 Replies
Login or Register to Ask a Question