Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ............. ok
t/10-all.t ............. 1/33 Job 'fail_die' died: test reason at /root/.cpan/build/Gearman-1.10-PXw76r/t/worker.pl line 28.
t/10-all.t ............. ok
t/20-leaktest.t ........ "import" is not exported by the Exporter module
Can't continue after import errors at /root/.cpan/build/Gearman-1.10-PXw76r/t/lib/GearTestLib.pm line 4
BEGIN failed--compilation aborted at /root/.cpan/build/Gearman-1.10-PXw76r/t/lib/GearTestLib.pm line 4.
Compilation failed in require at t/20-leaktest.t line 14.
BEGIN failed--compilation aborted at t/20-leaktest.t line 14.
t/20-leaktest.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/30-maxqueue.t ........ ok
t/40-prefix.t .......... ok
t/50-wait_timeout.t .... 1/3 # Got result for 1
# Got result for 2
t/50-wait_timeout.t .... ok
t/51-large_args.t ...... ok
t/60-stop-if.t ......... 4/12 # Sleeping for 5 seconds
t/60-stop-if.t ......... ok
t/65-responseparser.t .. ok
Test Summary Report
-------------------
t/20-leaktest.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=9, Tests=78, 95 wallclock secs ( 0.59 usr 0.10 sys + 10.14 cusr 0.91 csys = 11.74 CPU)
Result: FAIL
Failed 1/9 test programs. 0/78 subtests failed.
make: *** [test_dynamic] エラー 255
DORMANDO/Gearman-1.10.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
よく見ると、
t/20-leaktest.t ........ "import" is not exported by the Exporter module
Can't continue after import errors at /root/.cpan/build/Gearman-1.10-PXw76r/t/lib/GearTestLib.pm line 4
と書いてあるので、Exporterモジュールを最新版にしてみる。
# cpan Exporter
で、いま一度Gearman::Clientのインストールにトライ。
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ............. ok
t/10-all.t ............. 1/33 Job 'fail_die' died: test reason at /root/.cpan/build/Gearman-1.10-22xMqA/t/worker.pl line 28.
t/10-all.t ............. ok
t/20-leaktest.t ........ skipped: This test requires Devel::Gladiator
t/30-maxqueue.t ........ ok
t/40-prefix.t .......... ok
t/50-wait_timeout.t .... 1/3 # Got result for 1
# Got result for 2
t/50-wait_timeout.t .... ok
t/51-large_args.t ...... ok
t/60-stop-if.t ......... 2/12 # Sleeping for 5 seconds
t/60-stop-if.t ......... ok
t/65-responseparser.t .. ok
All tests successful.
Files=9, Tests=78, 90 wallclock secs ( 0.51 usr 0.10 sys + 10.01 cusr 0.98 csys = 11.60 CPU)
Result: PASS
DORMANDO/Gearman-1.10.tar.gz
/usr/bin/make test -- OK
すんなりと入っちゃったよ。というお話し。