[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta-devel
Subject:    [quanta-devel] ubuntu pthread problem
From:       Andrew Lowe <andrew.lowe () manildra ! com ! au>
Date:       2008-06-19 10:20:35
Message-ID: 200806192020.35379.andrew.lowe () manildra ! com ! au
[Download RAW message or body]

I am running kubuntu 8.04 with the 4.1 beta packages from ppa and have had 
some problems compiling both kdevplatform and kdewebdev.

I have discussed on the kdevelop list the problems and they seem to be 
releated to pthread not being linked directly.  Andreas Pukulat suggested 
adding pthread to the target_link_libraries and this fixed my problems with 
kdevplatforms teamwork plugin.  Adding it to kxsldbgpart and quantas kxsldbg 
plugin has fixed those issues with kdewebdev too....

attaching patch so you can see the difference.

further information is on the kdevelop list... but I can forward here if you 
need.

Thanks... hope to find time to get back to css plugin that I have not found 
time to work on for some time, and did not get far with last time...

Andrew Lowe
andrew.lowe@manildra.com.au

["kdewebdev-ubuntu-fix-pthread.diff" (text/x-patch)]

Index: quanta/plugins/kxsldbg/CMakeLists.txt
===================================================================
--- quanta/plugins/kxsldbg/CMakeLists.txt	(revision 821734)
+++ quanta/plugins/kxsldbg/CMakeLists.txt	(working copy)
@@ -135,6 +135,7 @@
    ${LIBXML2_LIBRARIES}
    ${LIBXSLT_LIBRARIES}
    ${KDE4_KUTILS_LIBS}
+   pthread
 )
 
 ########### install files ###############
Index: kxsldbg/kxsldbgpart/CMakeLists.txt
===================================================================
--- kxsldbg/kxsldbgpart/CMakeLists.txt	(revision 821734)
+++ kxsldbg/kxsldbgpart/CMakeLists.txt	(working copy)
@@ -29,7 +29,7 @@
 kde4_add_plugin(kxsldbgpart WITH_PREFIX ${kxsldbgpart_PART_SRCS})
 
 
-target_link_libraries(kxsldbgpart ${KDE4_KTEXTEDITOR_LIBS} exslt \
${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY}) \
+target_link_libraries(kxsldbgpart ${KDE4_KTEXTEDITOR_LIBS} exslt \
${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${QT_QT3SUPPORT_LIBRARY} pthread )  
 install(TARGETS kxsldbgpart  DESTINATION ${PLUGIN_INSTALL_DIR})
 



_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic