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: "David C. Rankin" <drankinatty@...>
Date: Mon, 20 Jan 2014 00:52:20 -0600
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/configdlg.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.cpp.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.cpp.o'
failed
make[2]: ***
[kicker/applets/lockout/CMakeFiles/lockout_panelapplet-module.dir/lockout.cpp.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....

-- 
David C. Rankin, J.D.,P.E.

Attachments: