8
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[対処法] 599 Internal Exception, https://fastapi.metacpan.org/v1/release/_search

Posted at

plenv install で表題のエラーが出る場合の対処法。

perl-buildを入れ直す

perl-buildは brew install していたものを使っていたので、いったんuninstallしてからcloneで入れる。

brew uninstall perl-build
git clone git://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/

perl-build本体をエディタで編集する

$HOME/.plenv/plugins/perl-build/perl-build をエディタで開いて、10258行目あたりに下記のようなパッチを適用する

- if (eval {require LWP::Protocol::https;1} )
+ if (eval {(require LWP::Protocol::https;1) && ( require Mozilla::CA; 1)} )

これで動くようになりました。

原因は?

Mozilla::CAがmacOS組み込みのPerlには入っていないのが原因のようです。
詳しくは下記Issueに書いてあります。

8
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?