Re: Installing W3C markup validator - stuck on step 5

"Michael[tm] Smith" <[email protected]> Mon, 30 Mar 2015 18:02:29 +0900
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
Mikkel Sandberg <[email protected]>, 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
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVGRElAAoJEIfRdHe8OkuVPa4QAITPEYkv9E42eDD2gaJM1TAb
P/ghidSTxcNvtxwNw7HWeJOuaBTBvl9zFsEkmTWgpmwD81CXRIogE5rBtCqh/Ftu
MoxRZgyztI/3vCEB+8E4Gs+Q9K4sn3LcIwITjajwAtsR5YUeaaoQtdctmemtQ1MD
UZ/Ai3Srdiwdbc2CBn+kZ1BHJ6s22Q/VCFMdrAOpm849IByRF6/i9xS/nuFpKLyz
7QkPyXRKt/K70f78AKhH/jHtwVDiW2GchoD1ow16zWl4zWVDJgqvqrbJ6/XLQzG4
UqKIcf4UgaQQmShJkMjprumOV+nn/NQSZxg9t1W8Ua8U2qf2qCl3pfiFEbqUsqFE
heWBSdTSOHBjPaYrYasG43hMYlt6EpelklYVL5pYbkdsSrn17E32acV3t/oQC32j
ILOF4bntdoz77k5+3aggjvCnbgpl1mM3h8hodkNdVo7ssulmlFzOCqvJhiEceoFU
/E7iO4JogufnoQb7dUtwZzgIdiFBo9Q74h9hfqtina5GJZPaDQ2EXwJ+GgZQACND
QlihkPzrfjWDqQnH0ZnAugWX6Hamwyk5170jFDposBUQwFsNcIibWcPexbGWHOft
rd2NoZKBTVotHHIskJUNjoQ6WqGAL28PKnEQPdcjBaIgpTlGv+KHMbDUrJ2W3joN
TqKX0/CNtOQIozAR2B3h
=vxr2
-----END PGP SIGNATURE-----