Skip to content

Instantly share code, notes, and snippets.

@daffydowden
Created September 14, 2010 20:41
Show Gist options
  • Save daffydowden/579736 to your computer and use it in GitHub Desktop.
Save daffydowden/579736 to your computer and use it in GitHub Desktop.
My frustration from trying to install ree, readline, rubycocoa and passenger pref pane
rvm package install readline
Fetching readline-5.2.tar.gz to /Users/Richard/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1989k 100 1989k 0 0 218k 0 0:00:09 0:00:09 --:--:-- 288k
Extracting readline-5.2.tar.gz to /Users/Richard/.rvm/src
Configuring readline in /Users/Richard/.rvm/src/readline-5.2.
Compiling readline in /Users/Richard/.rvm/src/readline-5.2.
Installing readline to /Users/Richard/.rvm/usr
Fetching readline-6.0.tar.gz to /Users/Richard/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2217k 100 2217k 0 0 209k 0 0:00:10 0:00:10 --:--:-- 290k
Extracting readline-6.0.tar.gz to /Users/Richard/.rvm/src
Configuring readline in /Users/Richard/.rvm/src/readline-6.0.
Compiling readline in /Users/Richard/.rvm/src/readline-6.0.
Installing readline to /Users/Richard/.rvm/usr
rvm install ree -C --with-readline-dir=$HOME/.rvm/usr
/Users/Richard/.rvm/rubies/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #fetching (ruby-enterprise-1.8.7-2010.02)
ree-1.8.7-2010.02 - #extracting ruby-enterprise-1.8.7-2010.02 to /Users/Richard/.rvm/src/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #installing
Error running './installer -a /Users/Richard/.rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ', please check /Users/Richard/.rvm/log/ree-1.8.7-2010.02/install*.log
There has been an error while trying to run the ree installer. Halting the installation.
====== Error Log ======
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
readline.c: In function ‘username_completion_proc_call’:
readline.c:734: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:734: error: (Each undeclared identifier is reported only once
readline.c:734: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1
@daffydowden
Copy link
Author

To solve RVM issue...
rvm update --head && rvm reload

To install ree with readline
rvm package install readline
rvm install ree -C --enable-shared=yes --with-readline-dir=$HOME/.rvm/usr

originally:
rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes

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