| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Oct 03, 2011
Posts: 8
![]() |
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 | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,313
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
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 :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Feb 14, 2004
Location: South-East Texas
Posts: 1,806
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 21in Dual core 3 ghz iMac, 13in Macbook - Mountain Lion on both
|
Craig in Texas ---You did WHAT!? Close the Terminal and step away slowly. |
||||
| QUOTE Thanks | |||||
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,313
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Code:
which make Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,313
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
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 Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Oct 03, 2011
Posts: 8
![]() |
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 | |
![]() Member Since: Feb 14, 2004
Location: South-East Texas
Posts: 1,806
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 21in Dual core 3 ghz iMac, 13in Macbook - Mountain Lion on both
|
Open Activity Monitor and see if Itunes Helper is running. If so, select it and click the Quit Process button.
Craig in Texas ---You did WHAT!? Close the Terminal and step away slowly. |
| QUOTE Thanks | |
![]() Member Since: Mar 01, 2012
Posts: 1
![]() |
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 | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,313
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
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 :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
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 04:21 AM.
Powered by vBulletin