gpt4 book ai didi

ruby - 在 ubuntu 11.04 上从 rvm 安装 ruby​​ 1.9.3 时出错

转载 作者:数据小太阳 更新时间:2023-10-29 06:43:52 24 4
gpt4 key购买 nike

错误

ruby-1.9.3-p0 - #extracted to /home/bhaarat/.rvm/src/ruby-1.9.3-p0

Fetching yaml-0.1.4.tar.gz to /home/bhaarat/.rvm/archives Extractingyaml-0.1.4.tar.gz to /home/bhaarat/.rvm/src Configuring yaml in/home/bhaarat/.rvm/src/yaml-0.1.4.

Compiling yaml in/home/bhaarat/.rvm/src/yaml-0.1.4. ERROR: Error running 'make ',please read /home/bhaarat/.rvm/log/ruby-1.9.3-p0/yaml/make.logInstalling yaml to /home/bhaarat/.rvm/usr ERROR: Error running 'makeinstall', please read/home/bhaarat/.rvm/log/ruby-1.9.3-p0/yaml/make.install.log

制作日志

[2012-01-12 10:49:57] make 
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/bhaarat/.rvm/src/yaml-0.1.4/config/missing --run aclocal-1.11
configure.ac:27: warning: AC_INIT: not a literal: YAML_BUGS
cd . && /bin/bash /home/bhaarat/.rvm/src/yaml-0.1.4/config/missing --run automake-1.11 --foreign
configure.ac:27: warning: AC_INIT: not a literal: YAML_BUGS
src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:2: its definition is in aclocal's search path.
make: *** [Makefile.in] Error 1

我已经删除了所有以前版本的 ruby​​

% rvm list rubies

rvm rubies

最佳答案

尝试安装 libtool 包。我遇到了同样的问题并已解决。如果您使用的是 Ubuntu,那么它可能是:

sudo apt-get install libtool

关于ruby - 在 ubuntu 11.04 上从 rvm 安装 ruby​​ 1.9.3 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8838051/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com