Message: previous - next
Month: January 2012

Re: [trinity-devel] tqt-mt.pc

From: Bruce Dubbs <bruce.dubbs@...>
Date: Mon, 16 Jan 2012 11:00:59 -0600
Baho Utot wrote:
> On Monday 16 January 2012 08:50:34 am Darrell Anderson wrote:
>>> As a packager you should move it to
>>> /usr/lib/pkgconfig.  That's where all the
>>> pkcconfig files should be anyway.
>> Are you saying that when I create Trinity packages to install to
>> /opt/trinity, I should still install pkgconfig files to /usr/lib/pkgconfig?
> Yes that is correct. pkg-config looks there by default as that is how the 
> default configuruation is.  I ove all of the ones that are not installed 
> there.  Less toruble that way.

There is nothing wrong with putting a group of .pc files in another 
location, say, /opt/trinity/lib/pkgconfig.  You only have to set one 
environment variable:


To me, just setting a variable once is far less trouble than moving 
files for every package.  It also supports the situation where you may 
want to have trinity-3.5.13 and trinity-devel on the same system.

Users who don't build from source don't have to worry about it at all.

   -- Bruce