我正在寻找安装 ruby 1.9.3。我目前安装了 ruby 1.9.2
Mac Os X Xcode Version 4.3.2 我已经转储了所有以前版本的 Xcode
我已经阅读了大量文章,并尝试了https://stackoverflow.com/a/9651747/1392225中详述的步骤
这是我的错误
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.
错误日志似乎指向这个
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
有任何想法吗?