Re: Installing W3C markup validator - stuck on step 5

Mikkel Sandberg <mikkel.h.sandberg@gmail.com>, 2015-03-26 23:42 +0000:
> Archived-At: <http://www.w3.org/mid/CAEDZavgWZBnOwVEO5hX0Yt2KddC4DXkhcrJqngFDYmDOGXo8Cw@mail.gmail.com>
> 
> Hi,
> I'm trying to set up the validator on my computer at work (it's a Mac) and
> I get an error when I do the last part of step 4 (testing the validator
> script).
> This is the html that it outputs:
> 
> <h1>Software error:</h1>
> 
> <pre>Can't locate SGML/Parser/OpenSP.pm in @INC (@INC contains:
> /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16
> /Network/Library/Perl/5.16/darwin-thread-multi-2level
> /Network/Library/Perl/5.16
> /Library/Perl/Updates/5.16.2/darwin-thread-multi-2level
> /Library/Perl/Updates/5.16.2
> /System/Library/Perl/5.16/darwin-thread-multi-2level
> /System/Library/Perl/5.16
> /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level
> /System/Library/Perl/Extras/5.16) at ./check line 64.
> 
> BEGIN failed--compilation aborted at ./check line 64.
...
> It seems at first glance that the problem is that part of the DTD library
> didn't install correctly, and I'm not really sure how to troubleshoot this.

I recommend cutting your losses and just giving up. The code
(Perl+SGML+DTDs) for the legacy validator service is no longer actively
maintained and there is now almost now value in running an instance of that
old service anyway.

The code for the current HTML checker is actively maintained and documented:

  http://validator.github.io/validator/

And it’s also much easier to install: It’s just distributed as a single jar
file that you can run either directly from the command line or, if you
prefer, as a Web service:

  http://validator.github.io/validator/#web-based-checking

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Monday, 30 March 2015 09:02:53 UTC