Help us understand the problem. What is going on with this article?

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

More than 1 year has passed since last update.

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に書いてあります。

https://github.com/miyagawa/HTTP-Tinyish/issues/14

DQNEO
PHP/Go/Perl/C/Docker/Linux/Git/AWS
http://dqn.sakusakutto.jp
mercari
フリマアプリ「メルカリ」を、グローバルで開発しています。
https://tech.mercari.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした