Hey Pierre,
Unfortunately, installing libtirpc is not enough. Kde-runtime will still try
to link to rpc from glibc. The attached patch should fix it though.
Can you verify that kde-runtime builds with the patch and with libtirpc
installed , so I can add it to the book?
-Ragnar-
On Friday 13 April 2012 19:02:01 Pierre Labastie wrote:
> Le 13/04/2012 18:29, Matt Burgess a écrit :
> > On Fri, 2012-04-13 at 18:16 +0200, Pierre Labastie wrote:
> >> Those xdr_things are defined in librpcsvc.a, but I do not know where the
> >> clnt_things come
> >> from. I suspect all of this has something to do with a missing library
> >> (maybe libtirpc ???),
> >> or maybe nfs should be installed?
> >
> > The clnt* and xdr* stuff is all provided by libtirpc.
> >
> > Regards,
> >
> > Matt.
>
> Thanks,
>
> So the question now is: has anybody been able to build kde-runtime
> without libtirpc?
> If not, libtirpc should be given as a required dependency.
>
> Regards
> Pierre
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} )
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page