Logwatch Fails With: Can't locate HTML/Entities.pm

Kurt Hindenburg khindenburg at macports.org
Wed Dec 18 00:46:15 UTC 2024


Sorry apparently I haven’t include the correct dependencies in the port. Try

sudo port install p5.34-html-parser


Kurt

> On Dec 17, 2024, at 7:15 PM, Michael Newman via macports-users <macports-users at lists.macports.org> wrote:
> 
> 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?
> 



More information about the macports-users mailing list