【发布时间】:2010-12-13 21:16:38
【问题描述】:
嗨 尝试编译 Ruby Enterprise Edition 2010.02 时
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
我还尝试指定选项 -c '--with-readline-path=/usr/local'(我安装了 readline 库),但我遇到了同样的问题。
我尝试使用port安装readline并删除我的手动编译,但问题仍然存在。
在 Linux(我习惯的系统)下,我从来没有遇到过 ldconfig 等问题......
帮助! :)
谢谢
【问题讨论】:
-
什么版本的 OS X?雪豹还是无雪豹?
标签: ruby macos compilation