RVM/rbenv rvm pkg install readline 时,出现了错误提示!

fengfans · 2012年05月15日 · 最后由 fengfans 回复于 2012年11月17日 · 4067 次阅读

向大家求教: 我在执行 rvm pkg install readline 时,出现了如下提示

Extracting readline-6.2.tar.gz to /home/fengfans/.rvm/src Applying patch '/home/fengfans/.rvm/patches/readline-6.2/patch-shobj-conf.diff'... Prepare readline in /home/fengfans/.rvm/src/readline-6.2. Error running 'autoreconf -is --force', please read /home/fengfans/.rvm/log/readline/autoreconf.log Configuring readline in /home/fengfans/.rvm/src/readline-6.2. Compiling readline in /home/fengfans/.rvm/src/readline-6.2. Installing readline to /home/fengfans/.rvm/usr

我查看了 autoreconf.log 日志,

[2012-05-15 15:00:41] autoreconf -is --force autoheader: warning: missing template: CTYPE_NON_ASCII autoheader: Use AC_DEFINE([CTYPE_NON_ASCII], [], [Description]) autoheader: warning: missing template: FIONREAD_IN_SYS_IOCTL autoheader: warning: missing template: HAVE_BSD_SIGNALS autoheader: warning: missing template: HAVE_GETPW_DECLS autoheader: warning: missing template: HAVE_LANGINFO_CODESET autoheader: warning: missing template: HAVE_MBRLEN autoheader: warning: missing template: HAVE_MBSCMP autoheader: warning: missing template: HAVE_MBSNRTOWCS autoheader: warning: missing template: HAVE_MBSRTOWCS autoheader: warning: missing template: HAVE_MBSTATE_T autoheader: warning: missing template: HAVE_POSIX_SIGNALS autoheader: warning: missing template: HAVE_POSIX_SIGSETJMP autoheader: warning: missing template: HAVE_STRUCT_DIRENT_D_FILENO autoheader: warning: missing template: HAVE_STRUCT_DIRENT_D_INO autoheader: warning: missing template: HAVE_USG_SIGHOLD autoheader: warning: missing template: HAVE_WCRTOMB autoheader: warning: missing template: HAVE_WCSCOLL autoheader: warning: missing template: HAVE_WCSDUP autoheader: warning: missing template: HAVE_WCTYPE autoheader: warning: missing template: HAVE_WCWIDTH autoheader: warning: missing template: MUST_REINSTALL_SIGHANDLERS autoheader: warning: missing template: NO_MULTIBYTE_SUPPORT autoheader: warning: missing template: SPEED_T_IN_SYS_TYPES autoheader: warning: missing template: STRCOLL_BROKEN autoheader: warning: missing template: STRUCT_WINSIZE_IN_SYS_IOCTL autoheader: warning: missing template: STRUCT_WINSIZE_IN_TERMIOS autoheader: warning: missing template: TIOCSTAT_IN_SYS_IOCTL autoheader: warning: missing template: VOID_SIGHANDLER autoreconf: /usr/bin/autoheader failed with exit status: 1

请问是什么原因,如何解决。

你好你的问题最后怎么解决的??!?!?

记不太清了,好像是按照 rvm 官方的方法,重新安装了一次 rails 等软件就好用了。建议你试试。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号