[Libreoffice] KDE build on 64-bit Fedora 13
Petr Mladek
pmladek at suse.cz
Tue Oct 5 08:30:03 PDT 2010
Sidney Markowitz píše v Ne 03. 10. 2010 v 14:18 +1300:
> 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.
You might try to modify APP1STDLIBS in
fpicker/source/unx/kde/makefile.mk
Even better would be to improve the check in bootstrap/configure.in and
set KDE_LIBS a better way.
> Does anyone have any ideas what it would take to build without having to use
> --disable-kde?
Note that --enable-kde builds the KDE3 integration. Most people use KDE4
these days. Do you really want KDE3 stuff? ;-)
Best Regards,
Petr
More information about the LibreOffice
mailing list