Problem installing HTML::Tidy

Dejan Tolj <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
I have built libtidy from source, after that I try to install
HTML::Tidy perl module and it fails some test which prevents it form
installing.

This is a prerequisite for installing w3c-markup-validator. I have
followed this guide to install the validator
http://validator.w3.org/docs/install.html#install-package , however
when I start apache it complains about missing module:

Starting httpd: Syntax error on line 4 of /etc/httpd/conf.d/tidy.conf:
Invalid command 'output-encoding:', perhaps misspelled or defined by a
module not included in the server configuration

Is this error caused due to misconfigured HTML::Tidy?

Here is the output of HTML::Tidy install:

t/levels.t ........... ok
t/message.t .......... ok
t/opt-00.t ........... ok
t/perfect.t .......... Failed 1/3 subtests
t/pod-coverage.t ..... skipped: Test::Pod::Coverage 1.04 required for
testing POD coverage
t/pod.t .............. skipped: Test::Pod 1.14 required for testing POD
t/roundtrip.t ........ ok
t/segfault-form.t .... ok
t/simple.t ........... 1/4 Unknown error type: line 2 column 5 - Info:
<body> previously mentioned at t/simple.t line 17
Unknown error type: line 2 column 5 - Info: <body> previously
mentioned at t/simple.t line 17
Unknown error type: line 2 column 5 - Info: <body> previously
mentioned at t/simple.t line 17
t/simple.t ........... ok
t/too-many-titles.t .. 1/3 Unknown error type: line 4 column 9 - Info:
<head> previously mentioned at t/too-many-titles.t line 22
t/too-many-titles.t .. ok
t/unicode.t .......... Failed 1/7 subtests
t/venus.t ............ 1/3 Unknown error type: line 8 column 2 - Info:
<h1> previously mentioned at t/venus.t line 21
Unknown error type: line 10 column 2 - Info: <h1> previously mentioned
at t/venus.t line 21
Unknown error type: line 11 column 2 - Info: <h1> previously mentioned
at t/venus.t line 21
Unknown error type: line 12 column 2 - Info: <h1> previously mentioned
at t/venus.t line 21
Unknown error type: line 15 column 2 - Info: <h2> previously mentioned
at t/venus.t line 21
Unknown error type: line 17 column 2 - Info: <h4> previously mentioned
at t/venus.t line 21
Unknown error type: line 18 column 2 - Info: <h4> previously mentioned
at t/venus.t line 21
Unknown error type: line 20 column 2 - Info: <h4> previously mentioned
at t/venus.t line 21
Unknown error type: line 25 column 3 - Info: <h4> previously mentioned
at t/venus.t line 21
t/venus.t ............ ok
t/version.t .......... ok
t/wordwrap.t ......... 1/2 Unknown error type: line 1 column 1 - Info:
<head> previously mentioned at t/wordwrap.t line 35
t/wordwrap.t ......... ok

Test Summary Report
-------------------
t/perfect.t        (Wstat: 11 Tests: 2 Failed: 0)
 Non-zero wait status: 11
 Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/unicode.t        (Wstat: 11 Tests: 6 Failed: 0)
 Non-zero wait status: 11
 Parse errors: Bad plan.  You planned 7 tests but ran 6.
Files=20, Tests=73,  3 wallclock secs ( 0.34 usr  0.33 sys +  1.82
cusr  1.13 csys =  3.62 CPU)
Result: FAIL
Failed 2/20 test programs. 0/73 subtests failed.
make: *** [test_dynamic] Error 255
 PETDANCE/HTML-Tidy-1.08.tar.gz
 /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
 reports PETDANCE/HTML-Tidy-1.08.tar.gz
Running make install
 make test had returned bad status, won't install without force
Failed during this command:
 PETDANCE/HTML-Tidy-1.08.tar.gz               : make_test NO
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.