我正在尝试在我的centOS 6.5服务器中安装Linux::Inotify2
cpan模块。我尝试过使用cpan和源代码。以下是我收到的错误。
来自消息来源
root@server:~/Linux-Inotify2-1.22# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ..... ok
t/01_inotify.t .. 1/5
# Failed test 'watch canceled'
# at t/01_inotify.t line 27.
# Looks like you failed 1 test of 5.
t/01_inotify.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Test Summary Report
-------------------
t/01_inotify.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 1
Files=2, Tests=6, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.05 cusr 0.00 csys = 0.10 CPU)
Result: FAIL
Failed 1/2 test programs. 1/6 subtests failed.
make: *** [test_dynamic] Error 1
来自cpan
Test Summary Report
-------------------
t/01_inotify.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 1
Files=2, Tests=6, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.06 cusr 0.01 csys = 0.13 CPU)
Result: FAIL
Failed 1/2 test programs. 1/6 subtests failed.
make: *** [test_dynamic] Error 1
MLEHMANN/Linux-Inotify2-1.22.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MLEHMANN/Linux-Inotify2-1.22.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MLEHMANN/Linux-Inotify2-1.22.tar.gz : make_test NO
报告显示以下信息。
cpan[2]> reports MLEHMANN/Linux-Inotify2-1.22.tar.gz
Distribution: M/ML/MLEHMANN/Linux-Inotify2-1.22.tar.gz
CPAN: CPAN::DistnameInfo loaded ok (v0.12)
CPAN: LWP loaded ok (v6.08)
Fetching 'http://www.cpantesters.org/show/Linux-Inotify2.yaml'...
DONE
Catching error: "CPAN::Exception::yaml_not_installed=HASH(0xaf96a28)" at /usr/share/perl5/CPAN.pm line 391
CPAN::shell() called at /usr/bin/cpan line 198
我在Google上搜索了这些报告,找不到任何有效的解释。