Recently I need to install w3c validator on my Mac. I did follow Apple’s guide last time when installing verison 0.7 ages ago.
However, that article is 2 years old now. Version 0.8 gives me difficulties and error in compiling Perl module SGML::Parser::OpenSP.
A bit of Google points me to Brett Bieber’s site which gives more information and the link to the appropriate OpenSP version 1.5.2.
With a little bit more patient with Fink and perl, I have w3c validator 0.8 up & running on my Mac.
In short, you must get OpenSP 1.5.2 installed before installing SGML::Parser::OpenSP and other related libraries.
Afterwards, you can resume to w3c or Apple’s guide for installation of the Perl modules.