Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After updating to Mac OS X Lion my laptop does not recognize "make" command

Tags:

macos

Please, help! Does anybody faced this problem?

-bash: make: command not found
like image 975
user1090944 Avatar asked Feb 16 '12 18:02

user1090944


2 Answers

make, like most developer tools, comes with Xcode. When I upgraded, OSX kept the tools, but if that's not the case for you, just download and install the Lion version of Xcode.

If you need a gcc (Lion's Xcode 4.2+ provides only LLVM) and / or you don't want to install the huge Xcode package, use the osx-gcc-installer.

like image 93
flyx Avatar answered Oct 03 '22 04:10

flyx


Actually, you can now download the Mac OSX command line tools as a seperate package without downloading Xcode!

https://developer.apple.com/downloads/index.action (Command Line Tools for Xcode - February 2012)

like image 23
Revell Avatar answered Oct 03 '22 03:10

Revell