fc28/rh8 libiconv again
Moderator: Moderator Team
fc28/rh8 libiconv again
Hi, in fedora 28 and incoming RH8 cmake provides own FindIconv.cmake module and LIBICONV_LIBDIR/DLIBICONV_INCLUDE_DIR variables do not work there, thats okay if libiconv is in standard paths but it is not - libiconv rpm installs it to /usr/libiconv, so, we need standard way to provide paths
-
- DCMTK Developer
- Posts: 2512
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: fc28/rh8 libiconv again
Not sure whether this helps, but did you already try the latest git version?
Also see: https://support.dcmtk.org/redmine/issues/837
Also see: https://support.dcmtk.org/redmine/issues/837
Re: fc28/rh8 libiconv again
yes, it is latest but still problem
i can compile and build using libiconv under rh8 if use
cmake \
........
-DIconv_INCLUDE_DIR:STRING="/usr/libiconv/include" \
-DIconv_LIBRARY:STRING="/usr/libiconv/lib64/libiconv.so" \
instead of recommended LIBICONV_INCLUDE_DIR and LIBICONV_LIBDIR/LIBICONV_LIBRARY
i can compile and build using libiconv under rh8 if use
cmake \
........
-DIconv_INCLUDE_DIR:STRING="/usr/libiconv/include" \
-DIconv_LIBRARY:STRING="/usr/libiconv/lib64/libiconv.so" \
instead of recommended LIBICONV_INCLUDE_DIR and LIBICONV_LIBDIR/LIBICONV_LIBRARY
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: fc28/rh8 libiconv again
Recommended where / by whom? As far as I remember, we unified DCMTK's FindIConv.cmake with the official one, so, if the official one uses Iconv_INCLUDE_DIR etc., that should simply be the way to go now. Did we perhaps fail to update the documentation accordingly?
Re: fc28/rh8 libiconv again
3rdparty.cmake: message(STATUS "Warning: ICONV support will be disabled because libiconv was not found. Correct LIBICONV_LIBDIR and LIBICONV_INCLUDE_DIR and re-enable DCMTK_WITH_ICONV.")
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: fc28/rh8 libiconv again
Duly noted, we'll fix that!
Who is online
Users browsing this forum: No registered users and 1 guest