[clamav-users] Build ClamAV clamav-0.104.1

Nibin V M nibinvm at gmail.com
Wed Dec 15 12:49:18 UTC 2021


Hello All,

I used to build the old versions of ClamAV like the following.

./configure --prefix=/opt/clamav --sysconfdir=/opt/clamav/etc
--disable-unrar--disable-ipv6 --disable-zlib-vcheck --disable-silent-rules
--enable-libclamav-only=yes --disable-xml --disable-bzip2

Seems like the latest version needs CMAKE to run and build the software. I
am unable to find many of the options to disable specific modules. Someone
please help me to make the equivalent CMAKE command? I tried the following
but it seems like enabling many modules that I really do not need.

cmake .. \
  -D CMAKE_INSTALL_PREFIX=/opt/clamav                                    \
  -D APP_CONFIG_DIRECTORY=/opt/clamav/etc                             \

  -D ENABLE_LIBCLAMAV_ONLY=ON
                    \
  -D ENABLE_UNRAR=OFF

Thanks in advance,

-- 
Regards....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20211215/6943650f/attachment.htm>


More information about the clamav-users mailing list