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.




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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: