Citeren Arjen de Korte via clamav-users <clamav-users@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.
_______________________________________________
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