Created
November 17, 2013 21:00
-
-
Save kpumuk/7518207 to your computer and use it in GitHub Desktop.
Compiling Ruby Enterprise Edition (ree) on Maverics with Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Run "rvm install ree", it failes | |
2. Run "cd ~/.rvm/src/ree-1.8.7-2012.02" | |
3. Make sure you have necessary libs installed: "brew install libyaml readline libksba openssl098" | |
3. Run this: | |
env CC=/usr/local/bin/gcc-4.2 CPP=/usr/local/bin/cpp-4.2 CXX=/usr/local/bin/g++-4.2 CFLAGS="-I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include -I/opt/X11/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl098/lib -L$(xcrun --show-sdk-path)/usr/lib" CPPFLAGS="-I/opt/X11/include -I$(xcrun --show-sdk-path)/usr/include" ./installer -a /Users/kpumuk/.rvm/rubies/ree-1.8.7-2012.02 --no-tcmalloc --no-dev-docs --dont-install-useful-gems -c --without-tcl -c --without-tk -c --enable-shared -c --with-readline-dir=/usr/local/opt/readline | |
Should compile without problems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment