Where can I find “make” program for Mac OS X Lion?

后端 未结 9 558
青春惊慌失措
青春惊慌失措 2020-11-30 17:49

Just upgraded my computer to Mac OS X Lion and went to terminal and typed \"make\" but it says: -bash: make: command not found

Where did the \"make\" command go?

9条回答
  •  时光取名叫无心
    2020-11-30 18:01

    Xcode 4.3.2 didn't install "Command Line Tools" by default. I had to open Xcode Preferences / Downloads / Components Tab. It had a list of optional components with an "Install" button beside each. This includes "Command Line Tools" and components to support developing for older versions of iOS.

    Now "make" is available and you can check by opening terminal and typing:make -v

    The result should look like:GNU Make 3.81

    You may need "make" even if you don't need Xcode, such as a Perl developer installing Perl Modules using cpan -i on the commandline.

提交回复
热议问题