gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] [PATCH] Fix SConstruct to work with Python 3


From: Gary E. Miller
Subject: Re: [gpsd-dev] [PATCH] Fix SConstruct to work with Python 3
Date: Mon, 12 Feb 2018 15:51:39 -0800

Yo teyrana!

On Mon, 12 Feb 2018 18:35:53 -0500
teyrana <address@hidden> wrote:

> > In Gentoo case #3 is handled by just building twice.  To
> > oversimplify it:  Once with python2 as default system python, and
> > once with python3 as default system python.  That work for you?  
> 
> 
> Hhmmm, Could you elaborate a bit? Running `sudo scons udev-install`


Uhmmm.  Get out of the sudo hanbot right now.  It is a bad one.
Just get root, then do the install.

> definitely didn't install the python3 package on any of my test
> systems.

Why would you expect it to?  You are installing from gpsd source,
which mean you get no dependency checking.  Just install Python3
then, select Python3 as you defalt pything, then do the gpsd install.
The WHOLE install.


> What command-line parameter do you pass to scons to install
> python3 packages?

I could tell you on Gentoo, but you are not runnng Gentoo.  Look in
your distro doc.

> Are you saying to run
> $>  python2 scons install  
> -- then --
> $> python3 scons install  

No, but worth a try.

> > Somewaht on-topic.  Python 3 is now 10 years old, and a great many
> > folks STILL do not want to use it...  
> 
> That's fine.  I'm not trying to force them;

I certainly don't expect you to knock sense into the Python devs, they
have been annoying their users for a decade, that's not gonna change...

Just an aside to vent a bit on their abuse of their userbase.


> the patch I sent in only
> affects systems with 'python3' already installed.

Yeah, we certainly can't build for python3 without python3!

> 1. no python3 => no python3 package

gpsd does not do packages, your distro does packages.

> 2. python3 packages do not affect python2 packages, afaik

Well, sort of...  At that is true for gpsd.

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


reply via email to

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