W3C home > Mailing lists > Public > www-validator@w3.org > March 2011

Re: checklink:Compile the link checker locally

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Mon, 14 Mar 2011 17:59:00 +0200
Message-ID: <4D7E3B44.5020900@iki.fi>
To: www-validator@w3.org
On 02/28/2011 10:55 AM, David Dorward wrote:
> On 28 Feb 2011, at 07:38, santosh kumar panda wrote:
>> While trying to compile the link checker locally. 
>>  Can't locate CSS/DOM.pm in @INC 
>> Can any one tell me the steps to compile or how to resolve this error.
> 
> 
> Install CSS::DOM — http://search.cpan.org/perldoc?CSS::DOM
> 
> I'd expect the Makefile to report it as a dependancy and install it for you.

That doesn't happen for any perl modules I'm aware of.  Maybe you mean
"perl -MCPAN" usage as in
http://search.cpan.org/dist/W3C-LinkChecker/docs/checklink.html#install

> That looks like a bug for the link checker's installer.

I don't see anything wrong with it, CSS::DOM is listed as a dependency:
http://search.cpan.org/dist/W3C-LinkChecker/Makefile.PL

Per OP's post I guess he's installing it without CPAN.pm ("extract the
W3C-LinkChecker-4.6.tar.gz" was mentioned) and maybe he did not notice
the warnings given at "perl Makefile.PL" phase, it should have output
something like this:

| Warning: prerequisite CSS::DOM 0.09 not found.
Received on Monday, 14 March 2011 15:59:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:46 GMT