LoginSignup
3
2

More than 5 years have passed since last update.

Date::Simpleをcpanmでインストールしようとすると失敗する

Posted at

現象

cpanmでDate::Simpleをインストールしようとすると失敗する。

$ cpanm --sudo Date::Simple
--> Working on Date::Simple
Fetching http://www.cpan.org/authors/id/I/IZ/IZUT/Date-Simple-3.03.tar.gz ... OK
Configuring Date-Simple-3.03 ... OK
Building and testing Date-Simple-3.03 ... FAIL
! Installing Date::Simple failed. See /home/vagrant/.cpanm/work/1432040147.2232/build.log for details. Retry with --force to force install it.

対策

export LANG=Cを指定する。

$ export LANG=C
$ cpanm --sudo Date::Simple
3
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
3
2