MacRubyインストール失敗

llvmインストール

# sudo port install llvm           

ソースコード取得

# git clone git://git.macruby.org/macruby/MacRuby.git

rake実行

# rake 

rakeで失敗

bridgesupport.cpp:1299: error: ‘Create’ is not a member of ‘llvm::ReturnInst’
bridgesupport.cpp:1299: error: ‘class llvm::Module’ has no member named ‘getContext’
lipo: can't figure out the architecture type of: /var/folders/qm/qm3fGVtYGFOOkMh8r98Hyk+++TI/-Tmp-//ccrNQ6II.out
rake aborted!
Command failed with status (1): [/usr/bin/g++ -I/opt/local/include  -D_DEBU...]

(See full trace by running task with --trace)

Oh..



lipoってなんだろう?アーキテクチャタイプが分からない?

lipoコマンドは、Universal Binaryのビルドプロセスの中でXcodeによって使用され、Universal Binaryの作成と処理を行います。

http://developer.apple.com/jp/technotes/tn2012.html