Search code examples
perlcpandancer

t::lib::TestApp not in CPAN?


I'm trying to install Dancer::Plugin::Feed on Mac OSX 10.6 and I'm running into this dependency problem:

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)

I tried to figure out what the problem is without luck.

Can anyone help?


Solution

  • The problem is not that the module isn't on CPAN. It's there as part of the Dancer::Plugin::Feed distribution. The problem seems to be that CPAN.pm can't see that it's available within the distribution.

    CPAN.pm is seen as a little old-fashioned these days. Have you tried CPANPLUS (which you'll have installed with Perl 5.10.0) or cpanminus?