1

Strawberry Perl の新しいコピーを抽出した後、CPANM でエラーが発生します。

C:\portable_perl>cpanm --self-upgrade
You are running cpanm from the path where your current perl won't install execut
ables to.
Because of that, cpanm --self-upgrade won't upgrade the version of cpanm you're
running.

  cpanm path   : C:\portable_perl\perl\bin/cpanm
  Install path : C:\portable_perl\perl\site\bin

It means you either installed cpanm globally with system perl, or use distro pac
kages such
as rpm or apt-get, and you have to use them again to upgrade cpanm.

C:\portable_perl>

インストール後App::cpanminus、少し異なるエラーが発生します。

C:\portable_perl>cpanm --self-upgrade
You are running cpanm from the path where your current perl won't install executables to.
Because of that, cpanm --self-upgrade won't upgrade the version of cpanm you're running.

  cpanm path   : C:\portable_perl\perl\site\bin/cpanm
  Install path : C:\portable_perl\perl\site\bin

It means you either installed cpanm globally with system perl, or use distro packages such
as rpm or apt-get, and you have to use them again to upgrade cpanm.

C:\portable_perl>

パスを設定する方法はありますか?または CPANM を別の方法でインストールしますか? 問題があれば、これを Windows 7 x64 で実行しています。

4

1 に答える 1