gpsd-users
[Top][All Lists]
Advanced

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

Re: Question about gpsd library/linking for an external gpsd client?


From: Gary E. Miller
Subject: Re: Question about gpsd library/linking for an external gpsd client?
Date: Fri, 5 Jun 2020 15:58:36 -0700

Yo All!

I found out why the libgps.so is not being installed.  Actually, it
is being installed, then deleted.  From "scons install" output:

rm -f //usr/local/lib/libgps.*
Install file: "libgps.so.27.0.0" as "/usr/local/lib/libgps.so.27.0.0"
strip /usr/local/lib/libgps.so.27.0.0
Delete("gps/packet.so")
rm -f //usr/local/lib/libgps.*
Install file: "libgpsdpacket.so.27.0.0" as 
"/usr/local/lib/libgpsdpacket.so.27.0.0"

First old libs are removed.  The libgps.so.27.0.0 is installed, then old
libs are removed AGAIN, then the new libgpsdpacket.so for Python is installed.

This line in SCostruct controls the rm:

env.AddPreAction(binaryinstall, 'rm -f %s/libgps.*' % (installdir('libdir'), ))

AddPreAction() was added in 2015.  It was intended to run once, before
the rest of binary install.  But it runs once before each item of
the install, and with the new item, it runs twice and breaks the lib
install.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  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: pgp14g9gOhDL7.pgp
Description: OpenPGP digital signature


reply via email to

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