Logwatch Fails With: Can't locate HTML/Entities.pm
Michael Newman
mgnewman at mac.com
Wed Dec 18 00:15:55 UTC 2024
After finally figuring out (being told) where to put my override directives, logwatch, when run from the command line, yields:
Sellotape:conf mnewman$ sudo logwatch --range yesterday --output stdout --format text
Can't locate HTML/Entities.pm in @INC (you may need to install the HTML::Entities module) (@INC contains: /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.34 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.34 /opt/local/lib/perl5/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/5.34) at /opt/local/bin/logwatch line 64.
BEGIN failed--compilation aborted at /opt/local/bin/logwatch line 64.
If this module is required, shouldn’t it have been installed when I installed the logwatch port?
Here’s what’s in the override file:
Output = mail
Format = text
MailTo = [me]@mac.com
MailFrom = Logwatch
Detail = Med
Service = all
mailer = "/usr/sbin/sendmail -t”
This is the same as what works on a Raspberry Pi. That same command line also works on a Pi.
What have I done wrong here?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1370 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241218/9e5d86fb/attachment.bin>
More information about the macports-users
mailing list