Hello David,
We're having a problem installing DateTime::Format::Strptime (it seems
several people have alreayd posted on http://www.nntp.perl.org/group/perl.datetime/
but we can't find the solution)
Here is the log.
cpan[3]> install DateTime::Format::Strptime
Running install for module 'DateTime::Format::Strptime'
Running make for R/RI/RICKM/DateTime-Format-Strptime-1.0901.tgz
Has already been unwrapped into directory /root/.cpan/build/
DateTime-Format-Strptime-1.0901-GhDBtC
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_load.t ............. ok
t/002_dates.t ............ ok
t/003_every.t ............ ok
t/004_locale_defaults.t .. 1/48
# Failed test 'en_US : %x : year'
# at t/004_locale_defaults.t line 44.
# got: '2019'
# expected: '1998'
Can't call method "year" on an undefined value at t/
004_locale_defaults.t line 44.
# Looks like you planned 48 tests but ran 18.
# Looks like you failed 1 test of 18 run.
# Looks like your test exited with 9 just after 18.
t/004_locale_defaults.t .. Dubious, test returned 9 (wstat 2304, 0x900)
Failed 31/48 subtests
t/005_croak.t ............ ok
t/006_locales.t .......... ok
t/007_edge.t ............. ok
t/008_epoch.t ............ ok
Test Summary Report
-------------------
t/004_locale_defaults.t (Wstat: 2304 Tests: 18 Failed: 1)
Failed test: 13
Non-zero exit status: 9
Parse errors: Bad plan. You planned 48 tests but ran 18.
Files=8, Tests=377, 6 wallclock secs ( 0.54 usr 0.05 sys + 5.28
cusr 0.11 csys = 5.98 CPU)
Result: FAIL
Failed 1/8 test programs. 1/377 subtests failed.
make: *** [test_dynamic] Erreur 255
RICKM/DateTime-Format-Strptime-1.0901.tgz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
reports RICKM/DateTime-Format-Strptime-1.0901.tgz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
RICKM/DateTime-Format-Strptime-1.0901.tgz : make_test NO
Question is: what do we do to fix this?
Regards,
- serving.fr