New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

'make' command on Mac OS 10.6


Post Reply New Thread Subscribe

 
Thread Tools
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
I'd say I'm relatively new to Mac and definitely new to programming on a Mac. I'm trying to compile a program to run on my Mac. I looked online and through the forums as much as I could. All the posts I found said that to get the 'make' command you have to install the XCode tools. I have already downloaded the tools from Apple and installed them using the 'XcodeTools.mpkg'. I've rebooted the computer and still I get the error:
make: command not found
I've tried using sudo but I still get the same error.

Is there a way to check and see if they were installed properly?

This is probably a real simple solution but being new I'm missing it.

Any ideas?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,647
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
You'll know whether or not Xcode was installed if there is a folder at / called "Developer" (in other words, the folder /Developer should exist).

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 2,881
cradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud of
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is online now
What he said....also if you do have a Developer folder, What is the output of "echo $PATH" in Terminal without the quotes.

Craig Domingue - resident redneck.
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
@vansmith
Yes there is a "Developer" folder.

@cradom
echo $PATH gives me:
/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,647
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
If you execute the following, do you get anything?
Code:
which make
/usr/bin/make should be printed back.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
@vansmith
I don't get anything. Just another command prompt.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,647
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Do you have /usr/bin/gnumake? If so, it would seem that the symlink wasn't created which can made by executing the following:
Code:
sudo ln -s /usr/bin/gnumake /usr/bin/make
If you don't have gnumake, the appropriate tools haven't been properly installed. If that's the case, reinstall Xcode.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
@vansmith
No ... No gnumake. Trying to reinstall XCode ...
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
When trying to reinstall XCode I get a pop up that says "In order to continue installation, please close the following application:"
"iTunes"

The problem is the installer is the only thing running, unless there are some background processes running that I don't know how to see or kill.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 2,881
cradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud of
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is online now
Open Activity Monitor and see if Itunes Helper is running. If so, select it and click the Quit Process button.

Craig Domingue - resident redneck.
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
Got it ... "iTunes Helper" was running.
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
@cradom
That was it! Installation resuming.
QUOTE Thanks
SeaRox

 
Member Since: Oct 03, 2011
Posts: 8
SeaRox is on a distinguished road

SeaRox is offline
Got it! I now have a 'make' command!

Thanks @vansmith and @cradom!
QUOTE Thanks
teo1705

 
Member Since: Mar 01, 2012
Posts: 1
teo1705 is on a distinguished road

teo1705 is offline
For all those that re-installing XCode does not work for, as it didn't for me, you may need more information...

In order to properly work with XCode you need to be registered as an apple developer.
https://developer.apple.com/membercenter

Then, even if you do not get the make command to work you may need to download and install Command Line Tools for Xcode, https://developer.apple.com/downloads

After doing this I was able to get the make command to be recognized.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,647
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
You don't have to be a registered developer to work with Xcode. You only need to be registered if you want to submit your app to the App Store.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks

Post Reply New Thread Subscribe


« Camera Motion Detection | custom slider which allows to trim the range »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Five ways Apple can improve the Mac App Store OneMoreThing... Apple Rumors and Reports 0 07-16-2011 08:42 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 12:58 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?