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

Re: Installing W3C markup validator - stuck on step 5

From: Michael[tm] Smith <mike@w3.org>
Date: Mon, 30 Mar 2015 18:02:29 +0900
To: Mikkel Sandberg <mikkel.h.sandberg@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20150330090229.GY1547@sideshowbarker.net>
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:


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:


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:12 UTC