fc28/rh8 libiconv again

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

fc28/rh8 libiconv again

#1 Post by Shaeto »

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

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: fc28/rh8 libiconv again

#2 Post by J. Riesmeier »

Not sure whether this helps, but did you already try the latest git version?
Also see: https://support.dcmtk.org/redmine/issues/837

Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

Re: fc28/rh8 libiconv again

#3 Post by Shaeto »

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

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: fc28/rh8 libiconv again

#4 Post by Jan Schlamelcher »

Shaeto wrote: Mon, 2019-02-18, 10:26 instead of recommended LIBICONV_INCLUDE_DIR and LIBICONV_LIBDIR/LIBICONV_LIBRARY
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?

Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

Re: fc28/rh8 libiconv again

#5 Post by Shaeto »

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.")

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: fc28/rh8 libiconv again

#6 Post by Jan Schlamelcher »

Duly noted, we'll fix that!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest