[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t |
Date: |
Fri, 20 Sep 2019 18:50:17 -0700 |
Yo Greg!
On Fri, 20 Sep 2019 21:44:05 -0400
Greg Troxel <address@hidden> wrote:
> "Gary E. Miller" <address@hidden> writes:
>
> >> How does gentoo install two versions of scons, one using 2.7 and
> >> one using 3.7, that are both called scons, and arrange for
> >> programs that use scons to call the right one?
> >
> > This is really simple, scons just works with any verion of python >
> > 2.6
>
> Ah - same with pkgsrc then. But, I run into programs where the
> SConstruct will only work with 2.x, and some where it will only work
> with 3.x, and some where it will insist that the used python version
> for the program (vs scons) has to match the scons version. Hence a
> need to install scons/2.7 and scons/3.7 at times. It sounds like you
> are not having that problem, which is lucky.
I have not had that problem with scons. Musxt be a problem with your distro.
> >> Regardless, even if "python" points to python3.7, it should be
> >> possible to build gspd with python2.7, and vice versa.
> >
> > Yeah, so I can build them both every day, like I already do? I
> > thought we got you past that issue? I thought your doc of PTYHON,
> > see above, fixed it for you?
>
> It works, except that when running the regression tests, it uses
> "#!/usr/bin/env python", rather than using the version specified as
> target_python. So almost.
Oh, well, we already discussed that. Your distro violates PEP 394:
https://www.python.org/dev/peps/pep-0394/
Fix your distro. Or get Python to change. Or just add the required link.
Imagine how much easier this makes your life:
# ln -s `which python3.7` /usr/bin/python
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
pgpfKyWtkTl23.pgp
Description: OpenPGP digital signature
- Re: [gpsd-dev] report on my build nits, (continued)
- Re: [gpsd-dev] report on my build nits, Gary E. Miller, 2019/09/23
- Re: [gpsd-dev] report on my build nits, Greg Troxel, 2019/09/23
- Re: [gpsd-dev] report on my build nits, Gary E. Miller, 2019/09/23
- Re: [gpsd-dev] report on my build nits, Fred Wright, 2019/09/23
- Re: [gpsd-dev] report on my build nits, Greg Troxel, 2019/09/23
- Re: [gpsd-dev] report on my build nits, Fred Wright, 2019/09/23
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Gary E. Miller, 2019/09/20
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Greg Troxel, 2019/09/20
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Gary E. Miller, 2019/09/20
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Greg Troxel, 2019/09/20
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t,
Gary E. Miller <=
- Re: [gpsd-dev] ✘timestamp_t is dead. Long live timespec_t, Greg Troxel, 2019/09/21