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: Sun, 19 Jan 2014 16:12:28 -0600
On 01/19/2014 03:56 PM, Darrell Anderson wrote:
> I'm no compiler expert, not even close, sunny or rainy day. Unless 
> Arch is REALLY different from other distros, I would pause to 
> consider what else might be causing the errors. That is, the rest 
> of the team is building full package sets without the same errors.
> 
> That said, yes, you could have stumbled across a corner case that 
> Arch exposes. We've seen that before around here. :)
> 
> Darrell
> 

I'm the corner case sucker... I think I have an idea.

tdebase/kicker/kicker/CMakeLists.txt has:

  link_directories( ${TQT_LIBRARY_DIRS} )

Why isn't it linking against TDE_LIBRARY_DIRS? So I'm going to try:

  link_directories( ${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS} )

I have a love/hate relationship with cmake. Love it when it works, hate it when
it doesn't because it does so much behind the scene and is a PITA to follow the
chain of logic for tests/includes and find what it actually does with pkgconfig
info after it finds it. For all I know tdebase is properly finding the
libdbus-tqt-1 information, but since the link_directories doesn't want it, it
may be ignoring the information. Why it includes on some distros and is failing
for me? (See my love/hate comment :-)

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