2013-04-23 96 views
1

我想補充的ruby-1.9.3-p392的安裝,並在安裝所需的軟件包automake的時候安裝,libtool的,我得到如下:RVM錯誤運行「requirements_smf_libs_install libtool的automake的」,

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的獅子,與安裝HomeBrew和釀造醫生乾淨。最奇怪的部分是automake和libtool已經通過Brew安裝。看起來這是一個RVM曾經有過的問題,但據說這是一個固定的問題:https://github.com/wayneeseguin/rvm/issues/1803,也許不適合這個特定的ruby gem?

回答

1

問題解決了,我剛剛從包裝上重新安裝和http://www.railsinstaller.org/它會自動安裝1.9.3-P392

+1

在發行他的評論也表示,嘗試'RVM autolibs homebrew'前行右側添加

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

解決這個 – FletchRichman 2013-04-27 19:18:50

0

看來,實際的問題是宏觀AM_SILENT_RULES不是你用autoconf的定義。 你可以通過使用宏在configure.ac