Trouble compiling SGML::Parser::OpenSP for W3C Validator

Hi,

I am having a real game trying to get a local copy of the W3C  
Validator installed on a CentOS box here.  I've followed the  
instructions a couple of times and it always fails on one step.

After following the docs at...

http://validator.w3.org/docs/install.html

....I get to the point where I grabbed the latest source of  
SGML::Parser::OpenSP and at the 'make test' stage I get lots of test  
failures.  The start of the output follows:-

[root@kc-bs-00 spo]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic...........NOK 1
#   Failed test 'use SGML::Parser::OpenSP;'
#   at t/01basic.t line 14.
#     Tried to use 'SGML::Parser::OpenSP'.
#     Error:  Can't load '/root/tmp/sgml/spo/blib/arch/auto/SGML/ 
Parser/OpenSP/OpenSP.so' for module SGML::Parser::OpenSP: libosp.so. 
5: cannot open shared object file: No such file or directory at /usr/ 
lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
#  at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2.


I've installed OpenSP 1.5.2 previously and it's just this one step in  
the docs that always fails.

Apart from that I have followed the rest and my validator fires up on  
Apache and I get the pages but when I try to validate anything I get  
the following (related to the error above I presume);

Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/ 
auto/SGML/Parser/OpenSP/OpenSP.so'
for module SGML::Parser::OpenSP: libosp.so.5:
cannot open shared object file: No such file or directory at /usr/lib/ 
perl5/5.8.5/i386-linux-thread-multi/XSLoader.pm line 68.
at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/SGML/Parser/ 
OpenSP.pm line 18
Compilation failed in require at /usr/local/validator/cgi-bin/check  
line 61.
BEGIN failed--compilation aborted at /usr/local/validator/cgi-bin/ 
check line 61.

I installed the validator a couple of times a few years ago and never  
had problems but I guess it's a bit difference these days with  
compiling the latest CVS source of this OpenSP parser thingy... :-/

Any advice gratefully received!

Andrew

Received on Thursday, 25 October 2007 22:55:25 UTC