Issue with rvm, snow leopard and 1.9.1

18 views
Skip to first unread message

mogh

unread,
Nov 21, 2009, 1:44:09 PM11/21/09
to rvm (Ruby Version Manager)
I just did a clean install of snow leopard and am trying to get rvm
and ruby 1.9.1-p243 working. I am using rvm 0.0.81 and installed
ruby-1.8.7-p174. However, when I try to install 1.9.1-p243 or 1.9.2-
preview1 using , I get the following:
- Error running '/usr/bin/make ' ... with a reference to the error
log

When I look at the error log referenced, I see:
- [2009-11-21 13:30:08] /usr/bin/make
- readline.c: In function ‘readline_s_vi_editing_mode’:
- readline.c:453: warning: implicit declaration of function
‘rl_vi_editing_mode’
- readline.c: In function ‘readline_s_emacs_editing_mode’:
- readline.c:499: warning: implicit declaration of function
‘rl_emacs_editing_mode’
- readline.c: In function ‘username_completion_proc_call’:
- readline.c:1156: error: ‘rl_username_completion_function’
undeclared (first use in this function)
- readline.c:1156: error: (Each undeclared identifier is reported
only once
- readline.c:1156: error: for each function it appears in.)
- readline.c: In function ‘Init_readline’:
- readline.c:1309: warning: implicit declaration of function
‘rl_clear_signals’
- make[1]: *** [readline.o] Error 1
- make: *** [mkmain.sh] Error 1

I saw in an earlier message to this group that someone reported a
somewhat similar problem with snow leopard and 1.9.1 and in response
Wayne told the person to add the following to .bash_profile, which I
did:

# to help rvm install of ruby 1.9.1-p243, etc.
export ARCHFLAGS="-arch i386 -arch x86_64"

Still no luck -- same error message occurs. I would really like to
use rvm to explore ruby 1.9.x more but not sure how to get past this
problem. Any help would be greatly appreciated.

Wayne Seguin

unread,
Nov 21, 2009, 8:45:36 PM11/21/09
to rubyversi...@googlegroups.com, Wayne Seguin
Try installing the latest XCode tools from developer.apple.com the ones on the dvd are broken.

You can see a message to this effect if you 'rvm update --head'

~Wayne
> --
> Please visit http://rvm.beginrescueend.com/ for documentation on rvm.
> Please visit https://www.pivotaltracker.com/projects/26822 to see what is being worked on currently.
>
> You received this message because you are subscribed to the Google
> Groups "rvm (Ruby Version Manager)" group.
> To post to this group, send email to rubyversi...@googlegroups.com
> To unsubscribe from this group, send email to
> rubyversionmana...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/rubyversionmanager?hl=en

mogh

unread,
Nov 21, 2009, 9:08:27 PM11/21/09
to rvm (Ruby Version Manager)
Wayne,

Thanks. I am in process of downloading the developer tools (big
download). I was also having a problem with Phusion Passenger
installing, but this might take care of that problem too. I do
appreciate the help and am excited to be able to use rvm.

Larry
> > Please visithttps://www.pivotaltracker.com/projects/26822to see what is being worked on currently.

mogh

unread,
Nov 22, 2009, 12:01:15 AM11/22/09
to rvm (Ruby Version Manager)
Wayne,

I installed the newest version of XCode (3.2.1) from Apple and I
cleared out all the old ruby-1.9.1-p243 materials so it'd have to
recompile (used find to get every directory/file and removed them
all), but I get the same error message. Looking at the error log, it
seemed like a readline problem, so I installed the latest version of
readline (6.0) in /usr/local and then ran rvm install 1.9.1-p243 --
with-readline-dir=/usr/local. Good news is that worked and I am set.
Thanks so much for your help and for rvm -- I can't wait to put it to
use!

Larry

Wayne Seguin

unread,
Nov 22, 2009, 7:26:17 PM11/22/09
to rubyversi...@googlegroups.com, Wayne Seguin
try:

"rvm install readline ; rvm install iconv ; rvm remove 1.9.1 ; rvm install 1.9.1 ; rvm 1.9.1 ; ruby -v"

~wayne
> --
> Please visit http://rvm.beginrescueend.com/ for documentation on rvm.
> Please visit https://www.pivotaltracker.com/projects/26822 to see what is being worked on currently.
Reply all
Reply to author
Forward
0 new messages