安裝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