Skip to content

Instantly share code, notes, and snippets.

@kachick
Last active May 18, 2016 17:32
Show Gist options
  • Save kachick/b441dbee0a28d19d1292 to your computer and use it in GitHub Desktop.
Save kachick/b441dbee0a28d19d1292 to your computer and use it in GitHub Desktop.
Rubinius build on Max OS X 2015-09 ~ 2016

久しぶりに 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
@kachick
Copy link
Author

kachick commented Jan 8, 2016

なんか最近3.xとかに上がってんなーと思って試したら普通にconfigure通った。

@kachick
Copy link
Author

kachick commented May 18, 2016

更に久しぶりにbuildしようとすると、今度はopensslがうんたらかんたら言う 😑

configure

Checking for header 'openssl/ssl.h': not found
openssl/ssl.h is required

configure.log

fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>

こんな感じで通った。 ref: https://groups.google.com/forum/#!topic/rubysur/xbFOYjD6vYI

CFLAGS="-I/usr/local/Cellar/openssl/1.0.2h_1/include" ./configure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment