trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] After moving tqtinterface to /usr, tdelibs fails: /usr/bin/ld: cannot find -lart_lgpl_2

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 17 Mar 2012 21:38:27 -0500
On 03/15/2012 03:08 PM, Darrell Anderson wrote:
> I looked at my build script for libart_lgpl. I install to /usr. In light of what I wrote yesterday, I checked all of my build scripts. I install tqtinterface and libart_lgpl to /usr. The reason for installing tqtinterface to /usr is because of the many automake scripts are hard-coded to that location.
> 
> I install libart_lgpl to /usr because the Trinity version is merely a patched version of the same package that is installed on (probably) all distros to /usr. That is, the Trinity version of libart_lgpl is merely a patched replacement for a stock package and that location must not change or other things in the distro depending upon libart_lgpl would break.
> 
> With that in mind, I just updated my sip4-tqt script to /usr as well for the same reason. Sip is a standard distro package. Installing to /usr would be status quo for all distros.
> 
> Darrell

What is the basic problem with the TDE build system that it has trouble finding
things if they are not in some special place? I guess the over-arching question
is what do we need to do to both the cmake and autotools setups so that they can
find what they need no matter where it is installed?

What is the 'right' solution? Let's just get that sorted and implemented so we
can get rid of all the Russian Roulette 'will it build?' questions....

If the fix will take lots of effort, let's just divide and conquer. It will be
worth it in the long run...

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