[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] scons check fail gpsd3.14 ubuntu 14
From: |
Hal Murray |
Subject: |
Re: [gpsd-dev] scons check fail gpsd3.14 ubuntu 14 |
Date: |
Tue, 17 Mar 2015 11:09:22 -0700 |
>> How hard would it be to add a switch so scons check could check
> the post install code?
> Check it for what?
Run the tests using the code from where scons install puts it rather than
from the current directory.
> Greg Troxel's proposal - require either chrpath or static linking for scons
> check - is looking better all the time. All this futzing around with edge
> cases in the build is making me tired.
There is code in there that sets up LD_LIBRARY_PATH. I added some printout
to check things, and it looked good.
Are we making the wrong assumption? What happens if RPATH and
LD_LIBRARY_PATH are both active? Where is that documented?
I just did a quick test. My screwup case of scons check works if I remove
the RPATH stuff from ./gpsd. So my guess is that RPATH takes precedence and
that's not what we want.
If we are building without chrpath, it sets up RPATH=//usr/local/lib. I
think something like that is necessary.
--
These are my opinions. I hate spam.