安装Perl的DateTime时,出现以下错误,并且失败;安装Perl日期时间
# Failed test 'Make sure we can add 50 years worth of years in America/New_York time zone'
# at t/30future-tz.t line 45.
Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/build/DateTime-0.72/blib/lib/DateTime.pm line 138.
# Failed test 'Make sure we can add 50 years worth of days in America/Chicago time zone'
# at t/30future-tz.t line 45.
Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/build/DateTime-0.72/blib/lib/DateTime.pm line 138.
# Failed test 'Make sure we can add 50 years worth of minutes in America/Denver time zone'
# at t/30future-tz.t line 45.
Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/build/DateTime-0.72/blib/lib/DateTime.pm line 138.
# Failed test 'Make sure we can add 50 years worth of seconds in America/Los_Angeles time zone'
# at t/30future-tz.t line 45.
Use of uninitialized value in numeric ge (>=) at /home/bensley/.cpan/build/DateTime-0.72/blib/lib/DateTime.pm line 138.
# Failed test 'Make sure we can add 50 years worth of nanoseconds in America/North_Dakota/Center time zone'
# at t/30future-tz.t line 45.
完整的输出相当长,所以我在这里贴吧:http://pastebin.com/raw.php?i=JiJeH4ij
我是新来的Perl模块正是如此,完全丧失。这里发生了什么?
UPDATE:
$ perl --version
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
您使用的是32位位或64位Perl?你使用的是哪个版本的Perl?在哪个平台上? – 2012-03-07 12:30:12
对不起,我的错误,我已更新该帖子。谢谢你的推动! – jwbensley 2012-03-07 12:36:31
这不完全是Perl ...和32位的最新版本。嗯......我在Mac OS X 10.7.3上有一个64位的Perl 5.14.1,我只是重新编译和测试DateTime 0.72而没有任何问题。我有一个32位的Perl 5.10.0可以玩 - 我需要升级它的模块,尽管(自从我上次使用它以来,并且'Build'支持太旧了,看起来好像有一段时间了。 – 2012-03-07 12:42:30