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

Michael Newman mgnewman at mac.com
Wed Dec 18 01:45:30 UTC 2024


That worked. Thanks for the quick reply.


> On Dec 18, 2024, at 07:46, Kurt Hindenburg <khindenburg at macports.org> wrote:
> 
> 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?
>> 
> 

-------------- 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/79d96b0d/attachment.bin>


More information about the macports-users mailing list