RE: Is checklink missing?

Olivier, thanks for your response.

I'm sorry, I didn't mention that I'm on Red Hat Enterprise Linux 4 ES:
[kevinz@www ~]$ uname -a
Linux www.jhuccp.org 2.6.9-67.0.4.ELsmp #1 SMP Fri Jan 18 05:00:00 EST
2008 x86_64 x86_64 x86_64 GNU/Linux
[kevinz@www ~]$ cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Kernel \r on an \m

[kevinz@www ~]$

I did use 'locate' but it didn't find it, even though it seems as if
LinkChecker.pm is installed correctly:
[kevinz@www ~]$ locate checklink |fgrep -v checklinks.html
[kevinz@www ~]$ locate checklink.pl
[kevinz@www ~]$ locate LinkChecker
/usr/share/man/man3/W3C::LogValidator::LinkChecker.3pm
/usr/lib/perl5/site_perl/5.8.5/W3C/LogValidator/LinkChecker.pm
[kevinz@www ~]$

These commands from my history file are what I used to install it:
  943  perl -MCPAN -e 'install W3C::LogValidator::LinkChecker'
  952  perl -MCPAN -e'install Bundle::W3C::Validator'
  953  perl -MCPAN -e'install HTML::Encoding SGML::Parser::OpenSP'
  954  perl -MCPAN -e'install SGML::Parser::OpenSP'
  955  perl -MCPAN -e'install HTML::Encoding'
  956  perl -MCPAN -e'install SGML::Parser::OpenSP'

I followed your 'dirty' solution and it worked fine. I have some other
questions about the output, but I'll start a new thread so it doesn't
get confusing. Thanks for all your help.

-Kevin

-----Original Message-----
From: olivier Thereaux [mailto:ot@w3.org] 
Sent: Wednesday, February 06, 2008 4:01 AM
To: Zembower, Kevin
Cc: www-validator@w3.org
Subject: Re: Is checklink missing?

Hi Kevin,

On Jan 31, 2008, at 05:48 , Zembower, Kevin wrote:
> Hello, Olivier and the LogValidator team, thank you for making such  
> a useful tool.

Very glad to hear you find it useful!

> I'm having a problem installing LogValidator and LinkChecker on my
> system.
[...]
> Now Using the Link Checker module :
> checklink not found at
> /usr/lib/perl5/site_perl/5.8.5/W3C/LogValidator/LinkChecker.pm

Odd. It looks like checklink is installed, from what you wrote. Maybe  
your system (is it a unix/linux system?) does not install scripts in  
the same location as usual, and thus the logvalidator cannot find it.

> I searched my system for 'checklink' but didn't find it.

If your computer has "locate" I would suggest running
locate checklink.pl
and
locate checklink
... and if the locate program finds the script, then edit the  
logvalidator configuration file to point to its location.

If that doesn't work, the "dirty" solution I can think of is to  
download the script from
http://dev.w3.org/cvsweb/perl/modules/W3C/LinkChecker/bin/checklink?rev=
4.21
then save it somewhere on your computer, make sure it is executable  
(chmod a+x in the shell).

Hope this helps,
olivier
-- 
olivier Thereaux - W3C - http://www.w3.org/People/olivier/
W3C Open Source Software: http://www.w3.org/Status

Received on Wednesday, 6 February 2008 21:51:05 UTC