trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

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

From: Serghei Amelian <serghei@...>
Date: Mon, 19 Mar 2012 15:53:10 +0200
On Monday 19 March 2012 15:39:16 David C. Rankin wrote:
[...]

> >   Looking at the -ldbus-tqt-1 designation - it is one of the few that
> > does not have the full path information. Where is that supposed to come
> > from if not from the pkg-config results? The pkg-config lib results are
> > correct, so what's up?
>
> I don't know why I had to do it this time, but I just added an export of
> CXXFLAGS and it found libdbus-tqt-1:
>
>   export CXXFLAGS="${CXXFLAGS} -L/opt/trinity/lib"
>
> How can we/what it the proper way to build library search paths into the
> tde build systems so that this information is automatically passed to make
> during the build? Can we do something in cmake to make sure the default
> $TDEDIR/lib and $TDEDIR/lib/trinity/lib are always passed as flags? This
> would take care of over half the spurious build failures I see.

The correct way is to fix .pc file, not to mess cmake scripts :)

-- 
Serghei