Code: Select all
checking whether to include libiconv support... no
checking whether the second argument to iconv() is const... no
Code: Select all
-- Could NOT find LIBICONV (missing: LIBICONV_LIBRARY)
-- Could NOT find LIBCHARSET (missing: LIBCHARSET_LIBRARY LIBCHARSET_INCLUDE_DIR)
-- Warning: ICONV support will be disabled because libiconv was not found. Correct LIBICONV_LIBDIR and LIBICONV_INCLUDE_DIR and re-enable DCMTK_WITH_ICONV.
If so this behaviour should definitely be changed as relying on glibc is by far the more common thing to do. Library libiconv is available in the AUR of Arch Linux only and seems to be missing completely in Debian, Fedora and openSUSE.
On a side note there's a minor inconsistency regarding the CMake variables.
Both 'cmake -LAH' and cmake-gui are stating DCMTK_WITH_ICONV, LIBICONV_INCLUDE_DIR and LIBICONV_LIBRARY, the output of simply running cmake as posted above does mention the former two as well but states LIBICONV_LIBDIR instead of the latter.