RVM/rbenv 执行 rvm pkg install readline 的时候出错,请问该怎么解决这个问题啊?

匿名 · 2012年02月26日 · 最后由 jinleileiking 回复于 2012年02月27日 · 3503 次阅读

执行 rvm pkg install readline 的时候出错,请问该怎么解决这个问题啊? 我的系统是 ubuntu 11.10

~$ rvm pkg install readline Fetching readline-5.2.tar.gz to /home/we/.rvm/archives Extracting readline-5.2.tar.gz to /home/we/.rvm/src Applying patch '/home/we/.rvm/patches/readline-5.2/shobj-conf.patch'... Prepare readline in /home/we/.rvm/src/readline-5.2. Error running 'autoreconf -is --force', please read /home/we/.rvm/log/readline/autoreconf.log Configuring readline in /home/we/.rvm/src/readline-5.2. Compiling readline in /home/we/.rvm/src/readline-5.2. Installing readline to /home/we/.rvm/usr Fetching readline-6.2.tar.gz to /home/we/.rvm/archives Extracting readline-6.2.tar.gz to /home/we/.rvm/src Applying patch '/home/we/.rvm/patches/readline-6.2/patch-shobj-conf.diff'... Prepare readline in /home/we/.rvm/src/readline-6.2. Error running 'autoreconf -is --force', please read /home/we/.rvm/log/readline/autoreconf.log Configuring readline in /home/we/.rvm/src/readline-6.2. Compiling readline in /home/we/.rvm/src/readline-6.2. Installing readline to /home/we/.rvm/usr

autorecong.log:

[2012-02-26 20:10:54] 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

环境搭建这种问题还是多 google 吧,毕竟问题千奇百怪,而且即使今天搞好了,明天可能就忘了,也没有必要记。帮你找了一个:http://stackoverflow.com/questions/8176076/how-to-get-readline-support-in-irb-using-rvm-on-ubuntu-11-10

这种问题,月经了。 rvm requirement 看提示,emrege / apt-get rvm install 1.9.3

最后咆哮一下!!!!!!!!!!!!!!!!!!!!!!

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