[opensuse-factory] No rule to make target '/usr/lib64/libicuuc.so', needed by 'UnitTests'. Stop.
Hi, I'm having trouble to compile a package for Tumbleweed - Leap compiles fine! The issue is the above message, where obviously some part of icu is not found From the make-file: --- CHECK_INCLUDE_FILE_CXX(unicode/uvernum.h HAVE_ICU_H) if (NOT HAVE_ICU_H) message(FATAL_ERROR "Please install the libicu-dev package") endif() find_library(LIBICU_PATH_1 NAMES icuuc) find_library(LIBICU_PATH_2 NAMES icui18n) if (NOT LIBICU_PATH_1 OR NOT LIBICU_PATH_2) message(FATAL_ERROR "Please install the libicu-dev package") else() link_libraries(icuuc icui18n) endif() ---- Looks like the link_libraries(icuuc icui18n) does not work. Log file: https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_6... orthanc/_log Any idea? Thanks Axel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 09/08/2019 19:36, Axel Braun wrote:
Hi,
I'm having trouble to compile a package for Tumbleweed - Leap compiles fine!
The issue is the above message, where obviously some part of icu is not found From the make-file: --- CHECK_INCLUDE_FILE_CXX(unicode/uvernum.h HAVE_ICU_H) if (NOT HAVE_ICU_H) message(FATAL_ERROR "Please install the libicu-dev package") endif()
find_library(LIBICU_PATH_1 NAMES icuuc) find_library(LIBICU_PATH_2 NAMES icui18n)
if (NOT LIBICU_PATH_1 OR NOT LIBICU_PATH_2) message(FATAL_ERROR "Please install the libicu-dev package") else() link_libraries(icuuc icui18n) endif() ----
Looks like the link_libraries(icuuc icui18n) does not work.
Log file: https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_6... orthanc/_log
Please wrap your links in emails inside <>, so that the hard wrap does not break them. Like that: <https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_64/orthanc/_log>
Any idea?
This is more of a JFYI email than a solution. I went to download the sources from Orthanc website and built them in normal environment -- all fine on Tumbleweed 20190806. See attached log. I went on their website and downloaded sources (1.5.7). I have also installed civetweb from your repository. All other dependencies were from official repos. I believe you just need libicu-devel and its dependencies. Although I must say in some cases they write incorrect listfiles. Usually, I install dependencies as I build, i.e. I install a dep after an error. When written correctly, CMake listfiles pick up missing dependencies upon reconfiguration, but in some cases a clean reconfiguration was required -- this should not happen. They are using their own arcane way of detecting almost all of the dependencies instead of using standard find_package() calls and writing CMake modules or CMake config files. Anyways.
Hello Oleksii, Am Samstag, 10. August 2019, 10:41:15 CEST schrieb Oleksii Vilchanskyi: <snip>
Log file: https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86 _64/ orthanc/_log
Please wrap your links in emails inside <>, so that the hard wrap does not break them. Like that: <https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_ 64/orthanc/_log>
Thanks for the hint!
Any idea?
This is more of a JFYI email than a solution. I went to download the sources from Orthanc website and built them in normal environment -- all fine on Tumbleweed 20190806. See attached log.
I went on their website and downloaded sources (1.5.7). I have also installed civetweb from your repository. All other dependencies were from official repos.
I believe you just need libicu-devel and its dependencies.
Indded, yes, as confirmed some minutes ago.
Although I must say in some cases they write incorrect listfiles. Usually, I install dependencies as I build, i.e. I install a dep after an error. When written correctly, CMake listfiles pick up missing dependencies upon reconfiguration, but in some cases a clean reconfiguration was required -- this should not happen. They are using their own arcane way of detecting almost all of the dependencies instead of using standard find_package() calls and writing CMake modules or CMake config files. Anyways.
Well, I can't really comment on this, as I'm not a C++ programmer, just doing some packaging. The right place to discuss this is probably the othanc-users groups (e.g. <https://groups.google.com/forum/?hl=de#!forum/orthanc-users> ) Thanks again for your work and hint! Axel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 2019-08-10 10:41, Oleksii Vilchanskyi wrote:
On 09/08/2019 19:36, Axel Braun wrote:
Log file: https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_6... orthanc/_log
Please wrap your links in emails inside <>, so that the hard wrap does not break them. Like that: <https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86_64/orthanc/_log>
Whether or not long words are break-wrapped depends solely on the editor used for mail composition, and at least in pico and joe, adding <> does not influence the wordbreak behavior. So, if you have a competent editor (widget), one can do without <>. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Axel Braun
-
Jan Engelhardt
-
Oleksii Vilchanskyi