Summary: | build failure - linking kstat | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | tropikhajma <tropikhajma> |
Component: | Portability-Cmake | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 2.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | 2.5.0 | |
Sentry Crash Report: |
Description
tropikhajma
2011-05-29 23:56:39 UTC
Would be awesome if you could provide us with these platform-specific ifs, we really cannot test. Easiest way is to setup a variable, something like SOLARIS_KSTAT_LIBS, and give it a value only if on Solaris. Is the change in filters/lens really necessary? I would also assume that digikamcore and digikamdatabase need to link, just to be clean. I've seen this used in phonon (phonon/CMakeLists.txt): if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS") # We need to explicitly link libm to phonon in Solaris target_link_libraries(phonon m) endif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS") I don't have the build env. ready right now, it can take me a week or so to be able to play with this again. What's new in this file ? Gilles Caulier tropikhajma, Do you have a build env for solaris now ? Gilles Caulier Git commit 29766dbd2457286c01c7732a3e9369b2bff13522 by Gilles Caulier. Committed on 14/12/2011 at 09:35. Pushed by cgilles into branch 'master'. fix linking under Solaris with missing Math library BUGS: 274484 M +5 -0 CMakeLists.txt M +3 -0 databaseserver/CMakeLists.txt M +4 -1 libs/dimg/filters/lens/CMakeLists.txt M +3 -0 showfoto/CMakeLists.txt http://commits.kde.org/digikam/29766dbd2457286c01c7732a3e9369b2bff13522 |