[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building gpsd on Debian 11 (Bullseye)
From: |
Gary E. Miller |
Subject: |
Re: Building gpsd on Debian 11 (Bullseye) |
Date: |
Wed, 6 Oct 2021 17:14:13 -0700 |
Yo Charles!
On Wed, 6 Oct 2021 16:15:23 -0600
Charles Curley <charlescurley@charlescurley.com> wrote:
> > So your PYTHONPATH should include:
> > /usr/local/lib/python3/dist-packages/
> >
> > > root@iorich:~/versioned/gpsd# echo $PYTHONPATH
> >
> > But it does not.
> >
> > > root@iorich:~/versioned/gpsd# export [...]
> >
> > You should put that somewhere so you do not have to do that on every
> > login.
>
> Yup. However, it can get messy.
Not messy on Gentoo...
> On a machine, again a fresh Bullseye install, I have:
>
> root@freeman:~# ll -d /usr/local/lib/pytho*
> drwxr-xr-x 3 root root 4096 Sep 28 10:15 /usr/local/lib/python3.9/
> root@freeman:~#
So you have installed gpsd for Python 3.9. Or looking at it the
other way, Python 39 was active when you installed gpsd.
> On iorich, where I've built gpsd, I have:
>
> root@iorich:~/versioned/gpsd# ll -d /usr/local/lib/pytho*
> drwxrwsr-x 4 root staff 4096 Oct 5 11:06 /usr/local/lib/python2.7
> drwxr-xr-x 3 root root 4096 Oct 5 11:56 /usr/local/lib/python3
> drwxr-xr-x 3 root root 4096 Aug 27 16:06 /usr/local/lib/python3.9
I have similar, and more. Each of those was the results of installing
gpsd while running python 2.7, and python 3.9. The python3 is likely a link
to python3.9
> Judging by the date, python2.7 and python3 were created in the process
> of building and installing gpsd.
Yup. In Gentoo I can have all those Pythons installed at the same time.
You need to manually remove any old directories for no longer installed
Pythons.
> So I think I will leave that to the user to figure out, with a
> reminder.
Nothing to figure out.
> > > I will let my changes to build.adoc sit overnight, take another
> > > look, and ship it tomorrow.
> >
> > Cool. I used to think Debian was a stable distro...
>
> Oh, it is. Very stable. Except about every two years when the upgrade
> tsunami hits.
Then how come the gpsd Debian jobs break every few weeks due to Debian
changes? I find changing the package nemes every two years to be
horrible,
We do not share the same definition of "stable".
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
pgpFRW1v4Aoem.pgp
Description: OpenPGP digital signature