试图rvm install ruby-1.9.3-head
得到以下错误。我以为我安装了 Railsinstaller 和 XCode 命令行工具,像 libtool 这样的包应该默认安装。我在这里缺少哪些步骤?
Checking requirements for smf.
Installing requirements for smf.
songserm password required for 'sm get head':
Updating system.
.
Installing required package: libtool..........................
Error running 'requirements_smf_lib_install libtool',
please read /usr/local/rvm/log/1382253809_ruby-1.9.3-head/package_install_libtool.log
Failed installation package: libtool of: libtool, gdbm.
Requirements installation failed with status: 1.
日志文件的内容是这样的:/usr/local/rvm/log/1382253809_ruby-1.9.3-head/package_install_libtool.log
[2013-10-20 14:27:12] requirements_smf_lib_install
requirements_smf_lib_install ()
{
typeset -a __smf_install_command;
requirements_smf_lib_install_command "$@";
rvm_debug "__smf_install_command: ${__smf_install_command[*]};";
"${__smf_install_command[@]}" || {
typeset ret=$?;
rvm_warn "There were package installation errors with SM Framework, make sure to read the log.
If you see this on OSX, then you might want to try macports (http://www.macports.org/) or homebrew (http://mxcl.github.io/homebrew/) and tell RVM to use them by running:
rvm autolibs macports #OR
rvm autolibs homebrew
You can get help using IRC: http://webchat.freenode.net/?channels=rvm";
return $ret
};
shift
}
current path: /Users/songserm/Dropbox/projects
command(2): requirements_smf_lib_install libtool
[ ] libtool 2.4.2 ~ dependencies... ^M ^M [^[[32m✔^[[0m] libtool 2.4.2 ~ dependencies
[ ] libtool 2.4.2 ~ fetch... curl: (9) Server denied you to change to the given directory
^M ^M [^[[32m✔^[[0m] libtool 2.4.2 ~ fetch
FAIL(paths): Path '/opt/sm/src/libtool-2.4.2' does not exist.
+# source file # function()
===========================================================================================
vi +330 /opt/sm/core/sm/shell/log/functions # __sm.log.fail
vi +32 /opt/sm/core/internal/shell/paths/functions # __sm.paths.enter
vi +144 /opt/sm/core/api/shell/paths/functions # paths
vi +54 /opt/sm/core/internal/shell/package/strategies/gnu/functions # __sm.package.gnu.install
vi +15 /opt/sm/core/internal/shell/package/functions # __sm.package.install
vi +143 /opt/sm/core/api/shell/package/functions # package
vi +403 /opt/sm/core/sm/shell/log/functions # __sm.actions.call
vi +178 /opt/sm/core/internal/shell/extensions/execution/functions # __sm.extension.run
vi +151 /opt/sm/core/sm/shell/core/initialize # /opt/sm/core/sm/shell/core/initialize
vi +41 /opt/sm/bin/sm # /opt/sm/bin/sm
===========================================================================================
There were package installation errors with SM Framework, make sure to read the log.
If you see this on OSX, then you might want to try macports (http://www.macports.org/) or homebrew (http://mxcl.github.io/homebrew/) and tell RVM to use them by running:
rvm autolibs macports #OR
rvm autolibs homebrew
You can get help using IRC: http://webchat.freenode.net/?channels=rvm