gpt4 book ai didi

Perl Ubuntu WordNet::SenseRelate::AllWords - 安装过程中的相似性问题

转载 作者:行者123 更新时间:2023-12-04 18:34:42 26 4
gpt4 key购买 nike

如果这是向论坛发送垃圾邮件,那么我很抱歉,但我想为这个问题创建一个新线程,因为我现在在 Ubuntu 而不是 Windows 中工作(欢呼!)。链接到旧线程:Perl WordNet::Similarity installation issue

这是我现在得到的错误:

TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Error-Suffixes-tagged-wntagged.t .. Can't locate WordNet/Tools.pm in @INC (@INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/Error-Suffixes-tagged-wntagged.t line 6.
BEGIN failed--compilation aborted at t/Error-Suffixes-tagged-wntagged.t line 6.
t/Error-Suffixes-tagged-wntagged.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/WordNet-SenseRelate-AllWords.t .... Can't locate WordNet/Tools.pm in @INC (@INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/WordNet-SenseRelate-AllWords.t line 21.
BEGIN failed--compilation aborted at t/WordNet-SenseRelate-AllWords.t line 21.
t/WordNet-SenseRelate-AllWords.t .... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/wsd.t ............................. Can't locate WordNet/Tools.pm in @INC (@INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/wsd.t line 24.
BEGIN failed--compilation aborted at t/wsd.t line 24.
t/wsd.t ............................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/Error-Suffixes-tagged-wntagged.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/WordNet-SenseRelate-AllWords.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/wsd.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=3, Tests=0, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.13 cusr 0.03 csys = 0.20 CPU)
Result: FAIL
Failed 3/3 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz
one dependency not OK (WordNet::Similarity); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz
Running make install
make test had returned bad status, won't install without force

有任何想法吗?
谢谢

更新:安装缺少的模块后得到这个:

Test Summary Report - t/trace.t (Wstat: 256 Tests: 132 Failed: 1) Failed test: 76 Non-zero exit status: 1 Files=22, Tests=2027, 88 wallclock secs ( 0.48 usr 0.05 sys + 85.34 cusr 2.23 csys = 88.10 CPU) Result: FAIL Failed 1/22 test programs. 1/2027 subtests failed. make: *** [test_dynamic] Error 255 TPEDERSE/WordNet-Similarity-2.05.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TPEDERSE/WordNet-Similarity-2.05.tar.gz Running make install make test had returned bad status, won't install without force

最佳答案

正如我们所见 Can't locate WordNet/Tools.pm in @INC首先你应该安装 WordNet::Tools 然后再试一次这个安装。

关于Perl Ubuntu WordNet::SenseRelate::AllWords - 安装过程中的相似性问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20117553/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com