[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failing in build, checking Python lib dir
From: |
Gary E. Miller |
Subject: |
Re: failing in build, checking Python lib dir |
Date: |
Sat, 8 Jun 2024 22:07:41 -0700 |
Yo wis1@comcast.net!
On Sat, 8 Jun 2024 20:10:27 -0700
<wis1@comcast.net> wrote:
> In trying to build 3.25 (cwd is gpsd-3.25):
If you are going to build from source, may I suggest you build git head?
A lot of bug fixes, new stuff, in git head.
> #scons pps=yes ntpshm=yes
Those should be the defaults. Who suggested doing that? Did you read
the build instructions?
> I get the following message:
>
> Checking Python lib dir...
> System PYTHONPATH='/usr/bin/python:/'
> Ensure your PYTHONPATH includes /
> Checking Python config vars...
> File "<unknown>", line 0
Partial logs are not helpful. Please provide the complete build log.
> SyntaxError: unexpected EOF while parsing
Odd.
> '/usr/bin/python' is symlinked to python3.
Normal and expected.
> Note that in the above, PYTHONPATH does include '/', but the same
> result occurs if "PYTHONPATH=/usr/bin/python". I added '/' to try
> and make 'scons' happy.
A very odd PYTHONPATH. '/usr/bin/python', and '/' are both clearly wrong.
> While getting here is indicative of a problem of mine, it also seems
> to be an issue with the script. Perhaps this error path hasn't been
> taken before.
Never see anything like like it. How did you get such a bad PYTHONPATH??
> Any ideas on how I can continue?
Fix you PYTHONPATH, maybe just remove it.
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
pgpA9PwNjJaBS.pgp
Description: OpenPGP digital signature