[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘Major build change pushed

From: Gary E. Miller
Subject: Re: ✘Major build change pushed
Date: Fri, 13 Nov 2020 17:46:14 -0800

Yo Hal!

On Fri, 13 Nov 2020 16:30:24 -0800
Hal Murray <> wrote:

> > No longer.  I removed all the links.  The links confused scons.
> > Now you either install gpsd and use the system modules, or run in
> > the build directory (currently gpsd-3.21~dev).   
> Does the gpsd library get built in the same directory as the tools?

Nope.  The source tree is now split up into a bunch of difertories:
clients, contrib, drivers, gps, gpsd, gpsmon, libgps, test, tests, etc.

> (ntpsec builds them in separate directories so it needs the link for
> testing)

gpsd no longer builds in the source tree, it builds in what scons calls
a variant directory. gpsd uses gpsd-$VERSION/ as the variant directory.

The variant dir includes the one and only working copy of the Python
gps module.  Almost all tests are run in the variant_dir so the gps
module is in the current directory.  So always used regardless of
os.sys.path or PYTHONPATH.

A very few things not in the variant directory are run from things in
the variant_dir, and do not see the gps module.  Those use PYTHONPATH.
Eventually those need to get updated as well.

The user just uses scons as the always have.

Users that run code in the git tree just need to cd into the variant
directory (gpsd-$VERSION/) before running any programs.

At least in theory,  I'm sure I missed something, so please test.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpTchKDneKxL.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]