[Digikam-devel] 0.10.0-beta1 release tarball...
Mark Purcell
msp at debian.org
Mon Jul 7 13:33:12 BST 2008
On Mon, 7 Jul 2008, Gilles Caulier wrote:
> Please give me a feedback if all compile fine on your computers before
> to make the official release.
Gilles,
This version still fails to link using -lpthread for me on Debian which
results in:
undefined reference to `pthread_create'.
As I mentioned yesterday I can workaround by manually patching links.txt,
during build.
Before building I have also found out how to force this inclusion in
TARGET_LINK_LIBRARIES in digikam/CMakeLists.txt:
--- digikam/CMakeLists.txt.orig 2008-07-07 22:21:31.000000000 +1000
+++ digikam/CMakeLists.txt 2008-07-07 21:57:05.000000000 +1000
@@ -117,6 +117,7 @@
${KDCRAW_LIBRARIES}
${KEXIV2_LIBRARIES}
${KIPI_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
)
IF(MARBLEWIDGET_FOUND)
I suspect that this should automatically be included, and that is why others
are having success. But for the Debian builds it appears that -lpthread
isn't included and the binary doesn't link.
${CMAKE_THREAD_LIBS_INIT} evaluates to "-lpthread".
I am unsure if this is going to effect anything else though as I don't grok
CMake.
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20080707/1bcaf9bd/attachment.sig>
More information about the Digikam-devel
mailing list