Unable to run markup validator

Hi,

I am trying to install and run w3c markup validator as per the instructions
in the installation document (https://validator.w3.org/docs/install.html).
I encounter the error " Undefined subroutine CGI::multi_param " (details
below) upon running a simple trial:

**********************************************************************

$ pwd
/home/thejasviv

$ git clone https://github.com/w3c/markup-validator.git
Cloning into 'markup-validator'...
remote: Counting objects: 20920, done.
remote: Total 20920 (delta 0), reused 0 (delta 0), pack-reused 20920
Receiving objects: 100% (20920/20920), 8.03 MiB | 5.48 MiB/s, done.
Resolving deltas: 100% (11589/11589), done.

$
W3C_VALIDATOR_CFG=/home/thejasviv/markup-validator/htdocs/config/validator.conf
\
> W3C_VALIDATOR_HOME=/home/thejasviv/markup-validator \
> markup-validator/httpd/cgi-bin/check \
> uri=http://example.com

Status: 500
Content-type: text/html

<h1>Software error:</h1>
<pre>Undefined subroutine CGI::multi_param
 at markup-validator/httpd/cgi-bin/check line 2793.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error
message
and the time and date of the error.

</p>
[Mon Feb 26 22:13:01 2018] check: Undefined subroutine CGI::multi_param
[Mon Feb 26 22:13:01 2018] check:  at markup-validator/httpd/cgi-bin/check
line 2793.

**********************************************************************************

Further Details:

1. I am running on Oracle Linux 7, x86_64:

$ uname -a
Linux MXXXXXXXX 3.8.13-118.20.2.el7uek.x86_64 #2 SMP ... x86_64 x86_64
x86_64 GNU/Linux

2. I already have a working web server (apache httpd) that is configured to
successfully process CGI scripts.

3. I have all the necessary prerequisites in place - OpenSP 1.5.2, Perl
modules, including CGI >= 3.40 as directed in the installation document.

$ onsgmls --version
onsgmls:I: "OpenSP" version "1.5.2"

$ perl -MCGI -e 'print $CGI::VERSION'
3.63

However, I do not see such a subroutine inside CGI.pm:

$ fgrep multi_param /usr/share/perl5/vendor_perl/CGI.pm


I even checked the CGI 3.63 code in CPAN, and couldn't find the method in
there (http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/lib/CGI.pm). It
seems to be available only in the later CGI versions.

As per the documentation, any CGI version >= 3.40 should work. But it is
not in my case. What am I missing?

Any help is greatly appreciated!!

Sincerely,
Thejasvi Voniadka

Received on Tuesday, 27 February 2018 13:26:19 UTC