3. エラーメッセージ
$ rbenv install 2.3.3
Downloading ruby-2.3.3.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2
Installing ruby-2.3.3…
(中略)
The Ruby readline extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Configure options used:
--prefix=/home/yuichiro/.rbenv/versions/2.3.3
CFLAGS= -O3 -Wno-error=shorten-64-to-32
LDFLAGS=-L/home/yuichiro/.rbenv/versions/2.3.3/lib
CPPFLAGS=-I/home/yuichiro/.rbenv/versions/2.3.3/include
→ readline がないと言われている。
4. 11.0 の readline
(リリースノートの抜粋)
4.7. Runtime Libraries and API
The readline(3) library is now statically linked in software within the base system,
and the shared library is no longer installed,
allowing the Ports Collection to use a modern version of the library. [r268461]
リリースノートによると readline(3) は
共有ライブラリとしてはインストールされないとのこと。
ベースシステムで使っているソフトウェアは
全てスタティックリンクされました。
11. テストのエラー
● エラーメッセージは次の通り。
✗ number of CPU cores is detected on Mac
(from function `unstub' in file test/test_helper.bash, line 73,
in test file test/build.bats, line 245)
`unstub uname' failed
✗ number of CPU cores is detected on FreeBSD
(from function `unstub' in file test/test_helper.bash, line 73,
in test file test/build.bats, line 269)
`unstub uname' failed