Monday, May 14, 2012

Trouble installing ruby 1.9.3

I am looking to install ruby 1.9.3. I currently have ruby 1.9.2 installed



Mac Os X
Xcode Version 4.3.2
I have dumped all the previous version of Xcode



I have read a ton of articles and I tried out the steps that are detailed in http://stackoverflow.com/a/9651747/1392225



This is the error that I have



ruby-1.9.3-p125 - #fetching 
ruby-1.9.3-p125 - #extracted to /Users/kai/.rvm/src/ruby-1.9.3-p125 (already extracted)
WARN: Patch 'xcode-debugopt-fix-r34840.diff' not found.
ruby-1.9.3-p125 - #configuring
ruby-1.9.3-p125 - #compiling
ERROR: Error running 'make ', please read /Users/kai/.rvm/log/ruby-1.9.3-p125/make.log
ERROR: There has been an error while running make. Halting the installation.


The error log seems to point to this



compiling readline.c
readline.c: In function 'username_completion_proc_call':
readline.c:1499: error: 'username_completion_function' undeclared (first use in this function)
readline.c:1499: error: (Each undeclared identifier is reported only once
readline.c:1499: error: for each function it appears in.)
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2


Any ideas?





No comments:

Post a Comment