久しぶりに Mac OS X で rubinius build しようとしたら躓いた。 ぐぐってさっくり解決したとこをすっ飛ばすと、時間かかったのがここ
$ ./configure
Checking clang: found
Checking clang++: found
Checking for 'llvm-config': only LLVM 3.0-3.5 is supported
ABORT: unable to set up LLVM
Running 'configure' failed. Please check configure.log for more details.
バージョン指定で対応してるllvm突っ込んだら解決した。
brew install homebrew/versions/llvm35
./configure --llvm-config=/usr/local/opt/llvm35/bin/llvm-config-3.5
更に久しぶりにbuildしようとすると、今度はopensslがうんたらかんたら言う 😑
configure
configure.log
こんな感じで通った。 ref: https://groups.google.com/forum/#!topic/rubysur/xbFOYjD6vYI
CFLAGS="-I/usr/local/Cellar/openssl/1.0.2h_1/include" ./configure