0

我似乎无法让鸭锅工作。这是我收到的错误,有什么想法吗?

Checking for latest App::DuckPAN ... 0.135
Checking for latest DDG Perl package... 0.120

使用以下 DDG 即时答案:

 - DDG::Goodie::ABC (Words)
 - DDG::Goodie::AltCalendars (Words)
 - DDG::Goodie::Anagram (Words)
 - DDG::Goodie::Ascii (Words)
 - DDG::Goodie::AspectRatio (Words)
 - DDG::Goodie::Atbash (Words)
 - DDG::Goodie::Average (Words)
Can't locate Math/Int2Base.pm in @INC (@INC contains: lib /home/ubuntu/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int /home/ubuntu/perl5/lib/perl5 /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 lib/DDG/Goodie/Base.pm line 4.
BEGIN failed--compilation aborted at lib/DDG/Goodie/Base.pm line 4.
Compilation failed in require at /home/ubuntu/perl5/lib/perl5/App/DuckPAN/Cmd.pm line 22.
4

1 回答 1

0

正如@rutter 提到的,问题在于您缺少 Goodie 包的依赖项。

DuckPAN 提供了一种简单的方法来安装所有依赖项(按照 rutter 的建议通过 CPAN 安装它们),一旦您位于 Goodie 存储库 (zerclickinfo-goodie) 的根目录中,运行duckpan installdeps,这将安装运行所需的一切duckpan serverduckpan query.

顺便说一句,将来最好在相关回购中报告这些问题,在这种情况下是 DuckPAN 回购:https ://github.com/duckduckgo/p5-app-duckpan ,因为我们每天都会检查这些问题。

于 2014-04-16T15:56:11.643 回答