[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] scons check fail gpsd3.14 ubuntu 14
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] scons check fail gpsd3.14 ubuntu 14 |
Date: |
Tue, 17 Mar 2015 10:51:35 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (berkeley-unix) |
"Eric S. Raymond" <address@hidden> writes:
> Greg Troxel <address@hidden>:
>> If chrpath is no, then make check should error out.
>
> An interesting idea, but we could be on a platform where chrpath
> is not available. Do we really want to force the user to static-link
> in that case?
libtool deals with this properly, and does so on a large number of
systems.
How many operating systems lack a chrpath implementation?
Forcing static is an interesting question, but running tests with
dynamic linking and no chrpath seems to always leads to testing the
wrong code. So that just should not happen. Whether you want to say
"can't run tests" or "can't dynamically link" is a tougher call, but
"can't dynamically link" is probably better.
alternatives would be
use libtool
link for tests and relink on make install
LD_LIBRARY_PATH hackery
port chrpath enough places to not care
pgpqhH9oyBm7a.pgp
Description: PGP signature