执行 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