Sorry just noticed the last line.  If you want to use check, you’ll need to 
install it.

#brew install check

 

After that, it should build fine...

 

From: clamav-users <clamav-users-boun...@lists.clamav.net> On Behalf Of 
eric-l...@truenet.com
Sent: Wednesday, November 11, 2020 3:57 PM
To: 'ClamAV users ML' <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] Fwd: MacOS ClamAV Configuration Errors

 

Wayne,

 

Since it looks like you are using homebrew, why not just install that:

eric@Erics-Mac-Pro ~ % brew info clamav

clamav: stable 0.103.0 (bottled), HEAD

Anti-virus software

https://www.clamav.net/

/usr/local/Cellar/clamav/0.103.0 (62 files, 448.2MB) *

  Poured from bottle on 2020-09-16 at 07:25:03

 

The error however is just a quirk of Clang on macOS, so can be disregarded.

It should build fine without the flag.

 

From: clamav-users <clamav-users-boun...@lists.clamav.net 
<mailto:clamav-users-boun...@lists.clamav.net> > On Behalf Of Wayne Ho via 
clamav-users
Sent: Wednesday, November 11, 2020 3:24 PM
To: clamav-users@lists.clamav.net <mailto:clamav-users@lists.clamav.net> 
Cc: Wayne Ho <xintuit...@gmail.com <mailto:xintuit...@gmail.com> >
Subject: [clamav-users] Fwd: MacOS ClamAV Configuration Errors

 

Hi,

 

I am currently a ClamXav user looking to switch over the CLI scanner.  I have 
been the installation guide 
https://www.clamav.net/documents/installation-on-macos-mac-os-x, but I am 
getting the following configuration error:

 

Waynes-Mac:clamav-0.103.0 wayne$     ./configure 
--with-openssl=/usr/local/Cellar/openssl@1.1/1.1.1h 
<mailto:--with-openssl=/usr/local/Cellar/openssl@1.1/1.1.1h>   
--with-zlib=/usr/local/Cellar/zlib/1.2.11/ --with-libjson=yes --enable-check > 
~/desktop/clamav-config.err
clang: error: unsupported option '-print-multi-os-directory'
clang: error: no input files
rm: conftest.so.dSYM: is a directory
configure: error: 

ERROR!  Check was configured, but not found.  Get it from http://check.sf.net/

 

Note that only stderr is displayed for brevity. I am still relatively new to 
CLI tools, so any assistance would be appreciated.

 

Thanks,

 

Wayne

 

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to