t :: lib :: TestApp不在CPAN中?

时间:2012-07-10 08:53:52

标签: perl cpan dancer

我正在尝试在Mac OSX 10.6上安装Dancer :: Plugin :: Feed,我遇到了这种依赖性问题:

CPAN.pm: Going to build H/HO/HOBBESTIG/Dancer-Plugin-Feed-0.7.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Dancer::Plugin::Feed
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
----  HOBBESTIG/Dancer-Plugin-Feed-0.7.tar.gz ----
    t::lib::TestApp [build_requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] 
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 't::lib::TestApp'
  The module t::lib::TestApp isn't available on CPAN.

  Either the module has not yet been uploaded to CPAN, or it is
  temporary unavailable. Please contact the author to find out
  more about the status. Try 'i t::lib::TestApp'.

My Perl verson:

perl --version

This is perl, v5.10.0 built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

我试图弄清楚问题是没有运气的。

有人可以帮忙吗?

2 个答案:

答案 0 :(得分:3)

t::lib::TestApp是模块测试的一部分,它包含在发行版中,但不打算实际安装。

然而,似乎Makefile.PL中的先决条件可能是由Dist :: Zilla自动生成的,并且它已在其中一个测试中看到use t::lib::TestApp语句并将该模块添加到pre -reqs。

强制安装模块现在应该可以使用;该插件的作者需要使用固定的pre-reqs列表发布更新版本。我相信我之前在IRC上看过这个问题,所以它似乎已经在手,但我会仔细检查。

答案 1 :(得分:1)

问题不在于模块不在CPAN上。 It's there作为Dancer :: Plugin :: Feed发布的一部分。问题似乎是CPAN.pm无法看到它在分发中可用。

如今,CPAN.pm被认为有点过时了。您是否尝试过CPANPLUS(您将使用Perl 5.10.0安装)或cpanminus?

相关问题