Created
March 6, 2009 14:18
-
-
Save cwsaylor/74918 to your computer and use it in GitHub Desktop.
Compile Readline on Mac OS X
This file contains hidden or 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
# Compile readline on Mac OS X | |
cd /usr/local/src | |
curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz | |
tar xzvf readline-5.2.tar.gz | |
cd readline-5.2 | |
curl -O http://ftp.gnu.org/gnu/readline/readline-5.2-patches/readline52-012 | |
patch -p0 < readline52-012 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
# Now follow Dan Benjamin's instructions for installing Ruby on Mac | |
# http://hivelogic.com/articles/2008/02/ruby-rails-leopard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment