Subject: | missing dependency on HTML::Entities |
Hi! Thanks for your good works on ColorDiff.
Please add a dependency to it (or to a package it depends on, like
SVN::Notify::HTML).
On a vanilla Debian sarge machine I recently tried:
$ mkdir /usr/local/share/perl/5.8.8
$ mkdir /usr/local/lib/perl/5.8.8 ~/.cpan
$ perl -MCPAN -e shell
Show quoted text
cpan> install Bundle::CPAN
cpan> reload cpan
Show quoted text cpan> install SVN::Notify::HTML::ColorDiff
...
t/base...............ok
t/errors.............ok
t/filter.............1/130
# Failed test 'use SVN::Notify::HTML;'
# at t/filter.t line 10.
# Tried to use 'SVN::Notify::HTML'.
# Error: Can't locate HTML/Entities.pm in @INC...
t/html...............skipped: SVN::Notify::HTML requires HTML::Entities
Test Summary Report
-------------------
Parse errors: Bad plan. You planned 130 tests but ran 37.
and
Show quoted text cpan> install HTML::Entities
After adding the missing dependency, I had no trouble with:
Show quoted text cpan> install SVN::Notify::HTML::ColorDiff
Result: PASS
DWHEELER/SVN-Notify-2.70.tar.gz
/usr/bin/make test -- OK
/usr/bin/make install -- OK
Take care.
Cheers,
JH
(BTW, it looks to me that the original posting in
http://rt.cpan.org/Public/Bug/Display.html?id=31637 should be marked
"Not A Bug", as the message data is perfectly ordinary. His message
visited more than one MTA, one of them did a (legal, correct) conversion
from 8-bit to quoted-printable, and his MUA neglected to decode the
quoted-printable data for him. The data is all there, the proper method
for interpreting it is clearly marked, and all that remains is for some
correct mail reader code to read it.)