I have a macbook I'm trying to do some development on. I have a program I want to build, and when I went to use make
to build it I got a "command not found" error. I did some google and SO searches and it doesn't look like this is a common problem. Why don't I have make installed and how do I get it? I'm extra confused because I know I used it relatively recently (in the past month or so) when I was on this laptop.
views:
2713answers:
5You will have to install the "Developer Tools" that are provided as optional packages in OS X installation disks.
Have you installed the Apple developer tools? What happens if you type gcc -v ?
It look as if you do not have downloaded the development stuff. You can get it for free (after registration) from http://developer.apple.com/
Regards Friedrich
If you don't want to install the full Xcode suite, then the MacPorts is a good option. It's a package management solution that gives you access to ports of many common Linux utilities on the Mac.
In addition, if you have migrated your user files and applications from one mac to another, you need to install Apple Developer Tools all over again. The migration assistant does not account for the developer tools installation.