Chen Log

陳洛格

C compiler cannot create executables

leave a comment »

checking build system type… x86_64-apple-darwin13.4.0

checking host system type… x86_64-apple-darwin13.4.0

checking target system type… x86_64-apple-darwin13.4.0

checking whether the C compiler works… no

configure: error: in `/usr/local/rvm/src/ruby-2.2.6′:

configure: error: C compiler cannot create executables

 

在mac系統 升級 ruby出現的問題可以如下解決:

 

$ brew install apple-gcc42

 

ps. The problem is fixed after I updated the patch of “Command Line Tools (OSX 10.11) for Xcode” and rebooted the machine.

 

參考:

http://stackoverflow.com/questions/22844522/os-x-10-9-2-checking-whether-the-c-compiler-works-no

Advertisements

Written by chenagw

2016/12/25 at 01:08

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: