Subject: | CPAN.pm installation problem |
I tried to install W3C-LogValidator through CPAN.pm and got finally a
test error in t/module-linkcheck.t. Apparently W3C::LinkChecker was
not installed automatically. The problem is that W3C::LinkChecker is
not really a module, but just a distribution containing a script. Thus
it is not visible in the CPAN module index and not automatically
installable through CPAN.pm
Possible solutions:
* Rewrite W3C::LinkChecker to be a real module; linkcheck would just
be a tiny script using the module. Oh, I see, it's not your module
:-)
* Remove W3C::LinkChecker from the PREREQ_PM list in Makefile.PL and
do your own check for linkcheck. Probably you should use
W3C::LogValidator::path_checklink to avoid duplication of code. If
this fails, then die() with a notice to install manually from CPAN,
e.g.
perl -MCPAN -eshell
install install SCOP/W3C-LinkChecker-4.2.tar.gz
Regards,
Slaven