Search This Blog

Wednesday, May 23, 2012

mac: no acceptable C compiler found in $PATH

If you get the following error on mac:
configure: error: no acceptable C compiler found in $PATH
Here is the step to fix it:

1. download Xcode from https://developer.apple.com/downloads/index.action
2. install Xcode
3. Open Xcode, go to Preferences --> Downloads --> install "Command Line Tools"
4. relaunch terminal

No comments:

Post a Comment