[clamav-users] ClamAV® blog: ClamAV 0.104.0 Release Candidate is here!

Arjen de Korte build+clamav at de-korte.org
Sun Jul 25 18:50:03 UTC 2021


Citeren Arjen de Korte via clamav-users <clamav-users at lists.clamav.net>:

> [    6s] -- Performing Test Iconv_IS_BUILT_IN
> [    6s] -- Performing Test Iconv_IS_BUILT_IN - Failed
> [    6s] CMake Error at  
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230  
> (message):
> [    6s]   Could NOT find Iconv (missing: Iconv_LIBRARY)
> [    6s] Call Stack (most recent call first):
> [    6s]    
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594  
> (_FPHSA_FAILURE_MESSAGE)
> [    6s]   cmake/FindIconv.cmake:129 (find_package_handle_standard_args)
> [    6s]   CMakeLists.txt:332 (find_package)

Apparently this test is not able to determine if iconv is actually  
built-in. Adding '-D Iconv_IS_BUILT_IN=ON' to the cmake command line,  
fixes this. If this is the intended behavior, it might be useful to  
change the error message (it took me a while to figure out that iconv  
was actually built-in).

Another thing is that when adding '-D ENABLE_UNRAR=OFF' to the cmake  
command line, one also has to set '-D ENABLE_TESTS=OFF', otherwise the  
build will fail fairly quickly due to the following error.

     Error evaluating generator expression:

       $<TARGET_FILE_DIR:ClamAV::libunrar_iface>

     No target "ClamAV::libunrar_iface"

errors. Not sure if this is expected though.

Other than this, the build seems to succeed on openSUSE Tumbleweed and  
the resulting binaries seem to run fine.



More information about the clamav-users mailing list