Chen Log

陳洛格

Archive for December 2016

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

Written by chenagw

2016/12/25 at 01:08

Posted in Uncategorized

協調的連結速度 Mac

leave a comment »

「協調的連結速度」過慢處理辦法,

原本的 SATA II 變成 SATA  I 的速度,

處理辦法: 重置Mac的SMC

 

螢幕快照 2016 12 05 22 18 32

 

請參考:

https://support.apple.com/zh-tw/HT201295

Written by chenagw

2016/12/05 at 22:23

Posted in Uncategorized

Tagged with ,