[Libreoffice] KDE build on 64-bit Fedora 13

Sidney Markowitz sidney at sidney.com
Sat Oct 2 18:18:48 PDT 2010


Now that I'm getting a build on 64-bit Fedora 13 using --disable-kde I thought
I would see what it needs to be able to build with kde enabled.

I have yum installed all the kde*-devel packages that seem like they are not
specific to irrelevant things (e.g., I did not install kdegames-devel) and I
installed some other devel packages like Xaw-devel and even
xorg-x11-server-devel, but I still get this error in module fpicker

Making:    kdefilepicker
unx
/usr/bin/ld: ../../../unxlngx6.pro/slo/kdemodalityfilter.o: undefined
reference to symbol 'XSetTransientForHint'
/usr/bin/ld: note: 'XSetTransientForHint' is defined in DSO
/usr/lib64/libX11.so.6 so try adding it to the linker command line

I've seen a reference to the "is defined in DSO" error as being something that
has changed in recent versions of Fedora that now would require -lX11 linker
flag where in earlier version the linker would find that as a dependency of
some other library that is being linked in. But adding -lX11 to LDFLAGS in the
initial use of autogen.sh doesn't help, neither does also putting it in CFLAGS
and CPPFLAGS.

Does anyone have any ideas what it would take to build without having to use
--disable-kde?


More information about the LibreOffice mailing list