Mojave port install p5.26-mail-clamav fails
Bill Cole
macportsusers-20171215 at billmail.scconsult.com
Mon Oct 29 00:18:16 UTC 2018
On 27 Oct 2018, at 8:27, Steve Wardle via macports-users wrote:
> # port list clamav
> clamav @0.100.2 sysutils/clamav
Not relevant, because 'port list' shows the only *available* version,
not the version you have installed. To show what version(s) you have
installed 'port installed' and to see the one which is active, 'port
active'. If you're installing a port for the first time, neither of
those will show anything.
However, that isn't in question because your log shows:
:debug:main clamav 0.100.2_0 exists in the ports tree
:debug:main clamav 0.100.2_0 is the latest installed
:debug:main clamav 0.100.2_0 is active
The message about clamav being too old is coming from running the
Makefile.PL script of the Mail::ClamAV module in the MacPorts
'configure' phase, which sets up the actual Makefile for the build
phase, where the actually fatal error occurs. Makefile.PL uses
'clamav-config --version' to get the version of the current ClamAV
installation, so there is something wrong with what that command is
returning. If this is a machine that has a history (i.e. pre-Mojave) it
is possible that you have another antique installation of ClamAV
somewhere and a PATH environment variable that puts the old
clamav-config ahead of the MacPorts version. Try this:
which -a clamav-config
That should return '/opt/local/bin/clamav-config' and nothing else.
>> On 27 Oct 2018, at 13:22, Christopher Jones <jonesc at hep.phy.cam.ac.uk
>> <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
>>
>> Hi,
>>
>> Please at least try and look for the relevant message instead of just
>> dumping everything into a mail.
>>
>> info:configure The clamav version you are using is too old. Please
>> upgrade to at least 0.95.1
>>
>> So, follow the instructions below.
>>
>> Error: Follow https://guide.macports.org/#project.tickets
>> <https://guide.macports.org/#project.tickets> to report a bug.
>>
>> If you cannot find a ticket, create one.
>>
>> Chris
--
Bill Cole
More information about the macports-users
mailing list