Peter A
Peter A

Reputation: 2561

dpan does not find Perl module in package root

We use MyCPAN::App::DPAN (Version 1.28) just like in Question: How can I manage Perl module dependencies?

This works quite well in general. But we ran into troubles with some specific packages: As expample DBD::Oracle does not have their main *.pm file in DBD-Oracle-1.27/lib/DBD/Oracle/Oracle.pm but in DBD-Oracle-1.27/Oracle.pm.

It seems that dpan does not find this *.pm file, since it is not listed in modules/02packages.details.txt.gz. Whereas DBD::Oracle::Object (other Perl-Module of this distribution, but located DBD-Oracle-1.27/lib/DBD/Oracle/) is listed there.

In dpan.conf we only have set the recommended values:

dpan_dir   /some/dir
indexer_id   Me 
pause_full_name   The Admin Team
pause_id   TAT
system_id   my system id

Other Packages with the same problem:

Packages that work:

Does someone have any tips/hints?

Upvotes: 3

Views: 109

Answers (1)

brian d foy
brian d foy

Reputation: 132896

DPAN works by indexing the distributions and storing the results in a file in the indexer_reports directory. As a workaround until I can investigate your problem, you can just edit the report it created for the problem distributions. As long as you haven't set fresh_start in your configuration, it will use the cached report which you have edited to add the missing module.

Upvotes: 1

Related Questions