Tuesday, September 25, 2012

How to make 'make' command working in Mac OS 10.8

In Mac OS 10.8 I tried to use 'make' command in terminal but it didn't work, I got: 'command not found'.

How to make 'make' work on Mac OS:

Go to the App store,
Install XCode 4.5

After this go to Xcode/Preferences/Downloads/Components
Install Command line tools

Open Terminal
type make -v
If it works you will get the output:

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

No comments:

Post a Comment