[kde-linux] Kde-runtime-4.8 Build issues
James Tyrer
jrtyrer at earthlink.net
Mon Jun 11 01:46:43 UTC 2012
I recently upgraded my GLibc to 2.15 and as a result, my KDE-Runtime
module will no longer build. The cause appears to be changes to the
"rpc.h" header. It appears to build fine against older headers.
BLFS has posted a small patch [attached]:
http://www.linuxfromscratch.org/blfs/view/svn/kde4/kde4runtime.html
to make it build with current headers, which I would suggest be
committed to the GIT repository.
--
James Tyrer
Linux (mostly) From Scratch
-------------- next part --------------
Submitted By: Ragnar Thomsen <rthomsen_at_linuxfromscratch_dot_org>
Date: 2012-04-14
Initial Package Version: 4.8.2
Description: Fixes linking to libtirpc
diff -Naur a/kioslave/nfs/CMakeLists.txt b/kioslave/nfs/CMakeLists.txt
--- a/kioslave/nfs/CMakeLists.txt 2011-07-27 20:36:16.000000000 +0200
+++ b/kioslave/nfs/CMakeLists.txt 2012-04-04 14:26:09.899031662 +0200
@@ -3,8 +3,8 @@
kde4_add_plugin(kio_nfs ${kio_nfs_PART_SRCS})
-
-target_link_libraries(kio_nfs ${KDE4_KIO_LIBS})
+include_directories(/usr/include/tirpc)
+target_link_libraries(kio_nfs ${KDE4_KIO_LIBS} tirpc)
install(TARGETS kio_nfs DESTINATION ${PLUGIN_INSTALL_DIR} )
More information about the kde-linux
mailing list