rbenv install 2.2.1建立失败的Ubuntu 16.04

时间:2018-10-25 04:46:41

标签: ruby rbenv

这是错误日志

Downloading ruby-2.2.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2
Installing ruby-2.2.1...

WARNING: ruby-2.2.1 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.


BUILD FAILED (Ubuntu 16.04 using ruby-build 20181019-2-gd49b8a1)

Inspect or clean up the working tree at /tmp/ruby-build.20181025114001.11061
Results logged to /tmp/ruby-build.20181025114001.11061.log

Last 10 log lines:
make[2]: Leaving directory '/tmp/ruby-build.20181025114001.11061/ruby-2.2.1/ext/objspace'
installing default date_core libraries
installing default nkf libraries
linking shared-object nkf.so
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20181025114001.11061/ruby-2.2.1/ext/nkf'
make[2]: Leaving directory '/tmp/ruby-build.20181025114001.11061/ruby-2.2.1/ext/date'
make[1]: Leaving directory '/tmp/ruby-build.20181025114001.11061/ruby-2.2.1'
uncommon.mk:189: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2

我不确定在这里做什么。我是rbenv的新手。我尝试解决在Google上搜索时出现的问题,但也无济于事,我尝试安装apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev 这是完整的日志ruby-build.20181025125952.32167.log

0 个答案:

没有答案