5
5

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.

Perlbrew で install-patchperl/install-cpanm が失敗する場合

Last updated at Posted at 2014-05-08

現状、バージョンが 1.11 の wget がインストールされている環境だと、

perlbrew install-patchperl
perlbrew install-cpanm

が失敗する。

gistへのhttps接続がうまくいかないのでエラーになる。
curlを使うように指定できれば良いが、そういったオプションがないので、
以下の様なファイルを作成する。

~/.wgetrc
check_certificate = off

この設定で、--no-check-certificate オプションをつけた場合と同じ動作になるので、
エラーが回避できる。

perlbrewでは過去に --no-check-certificate オプションを固定で付けていたようだけど、
セキュリティを考慮して外したようだ。
なので、--no-certificateを固定にするようなパッチは受け入れられないと思う。

5
5
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
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?