trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] tdebase FTBFS /usr/bin/ld: cannot find -ldbus-tqt-1

From: Slávek Banko <slavek.banko@...>
Date: Mon, 20 Jan 2014 08:35:54 +0100
On Monday 20 of January 2014 07:52:20 David C. Rankin wrote:
> On 01/19/2014 09:42 PM, David C. Rankin wrote:
> > Excellent Progress,
> >
> >   You fixed kicker/ui-static!! ...but.. it now crashes on launcher:
> >
> > [ 57%] Building CXX object
> > kicker/applets/launcher/CMakeFiles/launcher_panelapplet-module.dir/config
> >dlg.cpp.o Linking CXX shared module launcher_panelapplet.so
> > /usr/bin/ld: cannot find -ldbus-tqt-1
> > collect2: error: ld returned 1 exit status
> > kicker/applets/launcher/CMakeFiles/launcher_panelapplet-module.dir/build.
> >make:356: recipe for target
> > 'kicker/applets/launcher/launcher_panelapplet.so' failed make[2]: ***
> > [kicker/applets/launcher/launcher_panelapplet.so] Error 1
> > CMakeFiles/Makefile2:17380: recipe for target
> > 'kicker/applets/launcher/CMakeFiles/launcher_panelapplet-module.dir/all'
> > failed make[1]: ***
> > [kicker/applets/launcher/CMakeFiles/launcher_panelapplet-module.dir/all]
> > Error 2 Makefile:116: recipe for target 'all' failed
> > make: *** [all] Error 2
>
> GRRRR!
>
>   Ok, I fixed applets/launcher - updated CMakeLists.txt patch for tdebase
> is attached. "dcr_tdebase-fix-link-dbus-tqt-1.diff" this is a cumulative
> patch that incorporates Slavek's "tdebase-fix-link-dbus-tqt-1.diff" and the
> additional patch for applets/launcher. However, we are now back to gcc
> issues:
>
> Scanning dependencies of target lockout_panelapplet-module
> [ 57%] Building CXX object
> kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.cp
>p.o /build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp: In
> member function 'void Lockout::slotButtonOrder()':
> /build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp:297:4:
> error: 'KConfig' was not declared in this scope
>     KConfig* conf = config();
>     ^
> /build/tde-tdebase/src/tdebase/kicker/applets/lockout/lockout.cpp:297:13:
> error: 'conf' was not declared in this scope
>     KConfig* conf = config();
>              ^
> kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/build.make
>:63: recipe for target
> 'kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.c
>pp.o' failed
> make[2]: ***
> [kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.c
>pp.o] Error 1
> CMakeFiles/Makefile2:17480: recipe for target
> 'kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/all'
> failed
>
>   IIRC, these were common after the last gcc change, I guess there are
> still a few around....

This problem is caused by your additional patch that you mentioned earlier - 
01-kicker-lockout-applet-button-order.patch. KConfig was renamed TDEConfig => 
need to modify your patch (or discard).

I suppose latest patch for linking dbus-tqt-1 can be pushed into the GIT?

Slavek
--