W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Re: LogValidator on OS X

From: Karl Dubost <karl@w3.org>
Date: Thu, 1 Feb 2007 10:41:55 +0900
Message-Id: <092B3CED-45F7-4ACA-8CBA-3F701BCD8762@w3.org>
Cc: www-validator@w3.org
To: Elliotte Harold <elharo@metalab.unc.edu>

Hi Elliotte,

Le 1 févr. 2007 à 01:09, Elliotte Harold a écrit :
> Has anyone successfully installed LogValidator (not just HTML  
> Validator) on Mac OS X 10.4 or other versions? If so, do you have  
> any tips to share?
>
> Specifically should I sudo the CPAN install?

Yes I think so :) Or at least I always do.

> I've tried it on both PowerPC and Intel, and the CPAN install fails  
> with a variety of test failures.
> I can force an install, but that has problems of its own.

Let me try.

karl:~ [10:16:34]% uname -mpsrv
Darwin 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT  
2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

% perl -v
This is perl, v5.8.6 built for darwin-thread-multi-2level
(with 3 registered patches, see perl -V for more detail)

Going to LogValidator page.
http://www.w3.org/QA/Tools/LogValidator/

     "Where do I get it?
     See the download instructions."

http://www.w3.org/QA/Tools/LogValidator/Manual-Get

Then Install using CPAN
http://www.w3.org/QA/Tools/LogValidator/Manual-Install#CPAN

karl:~ [10:19:31]% sudo perl -MCPAN -e shell
Password:

/System/Library/Perl/5.8.6/CPAN/Config.pm initialized.
(hmm manual configuration, I had forgotten that I had reinstalled the  
machine not long ago, going through the process.)

Trying
cpan> install Bundle::CPAN

(working)


then
cpan> install W3C::LogValidator


hmm then troubles indeed

Running make for O/OL/OLIVIERT/LogValidator/W3C-LogValidator-1.06.tar.gz
   Is already unwrapped into directory /Users/karl/.cpan/build/W3C- 
LogValidator-1.06

   CPAN.pm: Going to build O/OL/OLIVIERT/LogValidator/W3C- 
LogValidator-1.06.tar.gz

cp lib/W3C/LogValidator/SurveyEngine.pm blib/lib/W3C/LogValidator/ 
SurveyEngine.pm
cp lib/W3C/LogValidator/LinkReferer.pm blib/lib/W3C/LogValidator/ 
LinkReferer.pm
cp lib/W3C/LogValidator/Config.pm blib/lib/W3C/LogValidator/Config.pm
cp lib/W3C/LogValidator/Output/Mail.pm blib/lib/W3C/LogValidator/ 
Output/Mail.pm
cp lib/W3C/LogValidator.pm blib/lib/W3C/LogValidator.pm
cp lib/W3C/LogValidator/LinkChecker.pm blib/lib/W3C/LogValidator/ 
LinkChecker.pm
cp lib/W3C/LogValidator/Output/HTML.pm blib/lib/W3C/LogValidator/ 
Output/HTML.pm
cp lib/W3C/LogValidator/CSSValidator.pm blib/lib/W3C/LogValidator/ 
CSSValidator.pm
cp lib/W3C/LogValidator/Output/Raw.pm blib/lib/W3C/LogValidator/ 
Output/Raw.pm
cp lib/W3C/LogValidator/HTMLValidator.pm blib/lib/W3C/LogValidator/ 
HTMLValidator.pm
cp lib/W3C/LogValidator/Basic.pm blib/lib/W3C/LogValidator/Basic.pm
cp bin/logprocess.pl blib/script/logprocess.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
logprocess.pl
Manifying blib/man3/W3C::LogValidator::SurveyEngine.3pm
Manifying blib/man3/W3C::LogValidator::Output::Mail.3pm
Manifying blib/man3/W3C::LogValidator::Config.3pm
Manifying blib/man3/W3C::LogValidator::LinkChecker.3pm
Manifying blib/man3/W3C::LogValidator.3pm
Manifying blib/man3/W3C::LogValidator::Output::HTML.3pm
Manifying blib/man3/W3C::LogValidator::CSSValidator.3pm
Manifying blib/man3/W3C::LogValidator::Output::Raw.3pm
Manifying blib/man3/W3C::LogValidator::HTMLValidator.3pm
Manifying blib/man3/W3C::LogValidator::Basic.3pm
   /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base................ok
t/module-basic........ok
t/module-css..........Can't locate WebService/Validator/CSS/W3C.pm in  
@INC (@INC contains: /Users/karl/.cpan/build/W3C-LogValidator-1.06/ 
blib/lib /Users/karl/.cpan/build/W3C-LogValidator-1.06/blib/arch / 
System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/ 
Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6/ 
darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6/ 
darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/ 
5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin- 
thread-multi-2level /System/Library/Perl/Extras/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 . / 
System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/ 
Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/ 
Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread- 
multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl / 
System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/ 
Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /Users/karl/.cpan/ 
build/W3C-LogValidator-1.06/blib/lib/W3C/LogValidator/CSSValidator.pm  
line 12.
BEGIN failed--compilation aborted at /Users/karl/.cpan/build/W3C- 
LogValidator-1.06/blib/lib/W3C/LogValidator/CSSValidator.pm line 12.
Compilation failed in require at t/module-css.t line 6.
BEGIN failed--compilation aborted at t/module-css.t line 6.
t/module-css..........dubious
         Test returned status 2 (wstat 512, 0x200)
t/module-htmlval......Can't locate LWP/UserAgent.pm in @INC (@INC  
contains: /Users/karl/.cpan/build/W3C-LogValidator-1.06/blib/lib / 
Users/karl/.cpan/build/W3C-LogValidator-1.06/blib/arch /System/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/ 
5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/ 
Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/ 
5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin- 
thread-multi-2level /System/Library/Perl/Extras/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 . / 
System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/ 
Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/ 
Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread- 
multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl / 
System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/ 
Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /Users/karl/.cpan/ 
build/W3C-LogValidator-1.06/blib/lib/W3C/LogValidator/ 
HTMLValidator.pm line 118.
BEGIN failed--compilation aborted at /Users/karl/.cpan/build/W3C- 
LogValidator-1.06/blib/lib/W3C/LogValidator/HTMLValidator.pm line 118.
Compilation failed in require at t/module-htmlval.t line 6.
BEGIN failed--compilation aborted at t/module-htmlval.t line 6.
t/module-htmlval......dubious
         Test returned status 2 (wstat 512, 0x200)
t/module-linkcheck....ok
t/module-survey.......Can't locate LWP/UserAgent.pm in @INC (@INC  
contains: /Users/karl/.cpan/build/W3C-LogValidator-1.06/blib/lib / 
Users/karl/.cpan/build/W3C-LogValidator-1.06/blib/arch /System/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/ 
5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/ 
Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- 
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ 
Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/ 
5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin- 
thread-multi-2level /System/Library/Perl/Extras/5.8.6/darwin-thread- 
multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 . / 
System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/ 
Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/ 
Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread- 
multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl / 
System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/ 
Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /Users/karl/.cpan/ 
build/W3C-LogValidator-1.06/blib/lib/W3C/LogValidator/SurveyEngine.pm  
line 144.
BEGIN failed--compilation aborted at /Users/karl/.cpan/build/W3C- 
LogValidator-1.06/blib/lib/W3C/LogValidator/SurveyEngine.pm line 144.
Compilation failed in require at t/module-survey.t line 6.
BEGIN failed--compilation aborted at t/module-survey.t line 6.
t/module-survey.......dubious
         Test returned status 2 (wstat 512, 0x200)
Failed Test        Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------ 
-------
t/module-css.t        2   512    ??   ??  ??
t/module-htmlval.t    2   512    ??   ??  ??
t/module-survey.t     2   512    ??   ??  ??
Failed 3/6 test scripts. 0/10 subtests failed.
Files=6, Tests=10,  0 wallclock secs ( 0.13 cusr +  0.05 csys =  0.18  
CPU)
Failed 3/6 test programs. 0/10 subtests failed.
make: *** [test_dynamic] Error 2
   /usr/bin/make test -- NOT OK
Running make install
   make test had returned bad status, won't install without force






-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Thursday, 1 February 2007 01:42:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT