Trouble with amavisd-new - won't start because of errors

Robert Chalmers robert at chalmers.com.au
Sat Dec 12 08:02:22 PST 2015


Finally
robert$ sudo port install p5.22-convert-binhex


zeus:etc robert$ sudo /opt/local/sbin/amavisd -V
amavisd-new-2.10.1 (20141025)
zeus:etc robert$ 


Thank you.


> On 12 Dec 2015, at 15:53, David Evans <devans at macports.org> wrote:
> 
> On 12/12/15 7:47 AM, Robert Chalmers wrote:
>> zeus:etc robert$ sudo port install p5-convert-binhex
>> --->  Computing dependencies for p5-convert-binhex
>> --->  Dependencies to be installed: p5.16-convert-binhex p5.16-file-slurp perl5.16 p5.16-test-most p5.16-exception-class
>> p5.16-class-data-inheritable p5.16-devel-stacktrace p5.16-test-simple p5.16-test-deep p5.16-test-differences
>> p5.16-capture-tiny p5.16-module-build p5.16-cpan-meta p5.16-cpan-meta-requirements p5.16-cpan-meta-yaml
>> p5.16-parse-cpan-meta p5.16-scalar-list-utils p5.16-version p5.16-inc-latest p5.16-module-metadata p5.16-perl-ostype
>> p5.16-podlators p5.16-pod-simple p5.16-pod-escapes p5.16-text-diff p5.16-algorithm-diff p5.16-test-exception
>> p5.16-sub-uplevel p5.16-test-warn
>> --->  Fetching archive for perl5.16
>> 
>> etc
>> etc
>> 
>> And when it finished ….
>> 
>> robert$ sudo /opt/local/sbin/amavisd -V
>> Password:
>> fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:
>>  Can't locate Convert/BinHex.pm in @INC (you may need to install the Convert::BinHex module) (@INC contains:
>> /opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22
>> /opt/local/lib/perl5/vendor_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.22
>> /opt/local/lib/perl5/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/5.22) at
>> /opt/local/lib/perl5/vendor_perl/5.22/MIME/Decoder/BinHex.pm line 45.
>>  BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.22/MIME/Decoder/BinHex.pm line 45.
>>  Compilation failed in require at /opt/local/sbin/amavisd line 209.
>> amavisd-new-2.10.1 (20141025)
>> 
>> 
>> So it’s still not found in p22 of course :-)
> 
> Currently perl5.16 is the default perl (will be changed to perl5.22 before too long).  To indicate that
> you want perl5.22 as the default
> 
> sudo port install perl5 +perl5_22
> 
> or just install p5.22-convert-binhex.
> 
>> 
>> 
>> 
>> 
>>> On 12 Dec 2015, at 15:32, David Evans <devans at orindasoftware.com <mailto:devans at orindasoftware.com> <mailto:devans at orindasoftware.com <mailto:devans at orindasoftware.com>>> wrote:
>>> 
>>> On 12/12/15 6:54 AM, Robert Chalmers wrote:
>>>> sudo /opt/local/sbin/amavisd -h
>>>> fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:
>>>> Can't locate Convert/BinHex.pm in @INC (you may need to install the Convert::BinHex module) (@INC contains:
>>>> /opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22
>>>> /opt/local/lib/perl5/vendor_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.22
>>>> /opt/local/lib/perl5/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/5.22) at
>>>> /opt/local/lib/perl5/vendor_perl/5.22/MIME/Decoder/BinHex.pm line 45.
>>>> BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.22/MIME/Decoder/BinHex.pm line 45.
>>>> Compilation failed in require at /opt/local/sbin/amavisd line 209.
>>>> Config file "/etc/amavisd.conf" does not exist, at /opt/local/sbin/amavisd line 2150.
>>>> 
>>>> 
>>> 
>>> Missing dependency p5-convert-binhex added to p5-mime-tools (home of MIME::Decoder::BinHex) in r143432.  Listed as an
>>> optional but recommended dependency upstream but apparently required.
>>> 
>>> Looking at the /etc/amavisd.conf issue.  The default configuration file is actually installed at
>>> /opt/local/etc/amavisd.conf.
>>> 
>>> Dave
>>> 
>>> 
>>> 
>> 
>> Robert Chalmers
>> robert at chalmers.com <mailto:robert at chalmers.com> <mailto:robert at chalmers.com <mailto:robert at chalmers.com>>.au  Quantum Radio: http://tinyurl.com/lwwddov <http://tinyurl.com/lwwddov>
>> Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB Storage made up of - 
>> Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower Bay

Robert Chalmers
robert at chalmers.com <mailto:robert at chalmers.com>.au  Quantum Radio: http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB Storage made up of - 
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower Bay



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151212/0dad85b0/attachment.html>


More information about the macports-users mailing list