Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby RVM运行时出错';要求\u smf\u libs\u安装automake libtool&\x27;,_Ruby_Macos_Rvm_Automake - Fatal编程技术网

Ruby RVM运行时出错';要求\u smf\u libs\u安装automake libtool&\x27;,

Ruby RVM运行时出错';要求\u smf\u libs\u安装automake libtool&\x27;,,ruby,macos,rvm,automake,Ruby,Macos,Rvm,Automake,我正在尝试添加ruby-1.9.3-p392的安装,在安装过程中,当安装所需的软件包automake、libtool时,我得到以下信息: Error running 'requirements_smf_libs_install automake libtool', please read /usr/local/rvm/log/ruby-1.9.3-p392/1366754296_package_install_automake_libtool.log 日志文件如下所示: [2013-04-23

我正在尝试添加ruby-1.9.3-p392的安装,在安装过程中,当安装所需的软件包automake、libtool时,我得到以下信息:

Error running 'requirements_smf_libs_install automake libtool',
please read /usr/local/rvm/log/ruby-1.9.3-p392/1366754296_package_install_automake_libtool.log
日志文件如下所示:

[2013-04-23 15:42:42] requirements_smf_libs_install
  [ ] automake 1.13.1 ~ dependencies... 

  [[32m✔[0m] automake 1.13.1 ~ dependencies   
  [ ] automake 1.13.1 ~ fetch... 

  [[32m✔[0m] automake 1.13.1 ~ fetch   
  [ ] automake 1.13.1 ~ patch... 

  [[32m✔[0m] automake 1.13.1 ~ patch   
  [ ] automake 1.13.1 ~ preconfigure... configure.ac:24: warning: macro `AM_SILENT_RULES' not found in library
configure.ac:372: warning: macro `AM_SUBST_NOTMAKE' not found in library
configure.ac:24: error: possibly undefined macro: AM_SILENT_RULES
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:377: error: possibly undefined macro: AM_SUBST_NOTMAKE
autoreconf: /opt/sm/pkg/versions/autoconf/2.69/bin/autoconf failed with exit status: 1

  [[32m✔[0m] automake 1.13.1 ~ preconfigure   
  [ ] automake 1.13.1 ~ configure... ERROR(__sm.package.error): 
Configuration of automake 1.13.1 failed.

Tail of configure.log:
./configure: line 2006: syntax error near unexpected token `yes'
./configure: line 2006: `AM_SILENT_RULES(yes)'

我在Mac OSX Lion上,安装了自制软件,brew doctor clean。最奇怪的是automake和libtool已经通过Brew安装。看起来这是RVM的一个问题,但应该已经解决了:,也许不是针对这个特定的ruby宝石

解决了问题,我刚从上的软件包重新安装,它自动安装了1.9.3-p392

解决了问题,我刚从上的软件包重新安装,它自动安装了1.9.3-p392

实际问题似乎是您使用的autoconf上没有定义宏
AM\u SILENT\u规则。
您可以通过添加

m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])

就在
configure.ac

中使用宏的那一行之前,实际问题似乎是宏
AM\u SILENT\u规则
没有在您正在使用的autoconf上定义。 您可以通过添加

m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])

在问题页面的
configure.ac

中使用宏的那一行之前,他的评论还说要尝试
rvm autolibs homebrew
,在问题页面上他的评论还说要尝试
rvm autolibs homebrew