Resolving “configure: error: cannot run C compiled programs.” error when using home-brew

Standard

Symptom)
You might see “configure: error: cannot run C compiled programs.” error when trying to install some package using homebrew.

(Example)
Screen Shot 2015-06-12 at 11.00.07 PM

Solution)
It happened to me when upgraded to a new major release of Mac OSX. (e.g. from 10.10 to 10.11)
Open terminal, execute following command, and install Xcode command line development tools.

xcode-select –install

After installation, homebrew will work as expected.

즉, xcode command line develop tool을 재설치해서 해결한다는 의미입니다.

Reference)
http://stackoverflow.com/questions/19594719/install-any-version-of-ruby-with-rvm-on-mavericks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.