mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

@S_H_ ログの前の行を覗いてみると

make[1]: Entering directory '/tmp/ruby-build.20221206195818.4308.p7nJQP/ruby-3.2.0-rc1'
*** Following extensions are not compiled:
psych:
Could not be configured. It will not be installed.
Check ext/psych/mkmf.log for more details.

となっていました。libyamlは同梱されなくなったのにそれに依存するpsychは同梱されてる…わけじゃないか。

Generating RDoc documentation
/tmp/ruby-build.20221206195818.4308.p7nJQP/ruby-3.2.0-rc1/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
uh-oh! RDoc had a problem:
cannot load such file -- psych

えーと…

今宵はここまでにしとうございます。酔ってるし…

$ cd /tmp/ruby-build.20221206195818.4308.p7nJQP/ruby-3.2.0-rc1/ext/psych
$ cat mkmf.log
LD_LIBRARY_PATH=.:../.. pkg-config --exists yaml-0.1
package configuration for yaml-0.1 is not found
find_header: checking for yaml.h... -------------------- no

Cのライブラリとしてのlibyamlが必要になったんですね。

$ sudo apt install libyaml-dev
$ rbenv install 3.2.0-rc1
To follow progress, use 'tail -f /tmp/ruby-build.20221206201451.17658.log' or pass --verbose
Downloading ruby-3.2.0-rc1.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0-rc1.tar.gz
Installing ruby-3.2.0-rc1...
Installed ruby-3.2.0-rc1 to /home/zunda/.rbenv/versions/3.2.0-rc1

ヨシ