Fix for Python library path problem

Eric S. Raymond esr at thyrsus.com
Wed Sep 27 18:46:15 UTC 2017


Gary E. Miller via devel <devel at ntpsec.org>:
> Yo Eric!
> 
> On Wed, 27 Sep 2017 10:21:57 -0400 (EDT)
> "Eric S. Raymond via devel" <devel at ntpsec.org> wrote:
> 
> > Gary, please verify that this addresses your FHS concerns.
> 
> Sort of.  Looks like the python libs now installed in the right place,
> again:
> 
> /usr/local/lib64/python2.7/site-packages/ntp/packet.py

Good.

> My first quick test shows the install leaving the old python libs installed.
> 
> Yesterday, when the libs got moved, the old ones got deleted.

Right, I haven't fixed that. I don't see an obvios way to address it.

> So my subsequent tests where using the wrong library versions.
> 
> When I deleted the old /usr/lib64/python2.7/site-packages/ntp/ then
> I get this:
> 
> # ntpmon
> ntpmon: can't find Python NTP library.
> No module named ntp.packet
> 
> So you forgot to restore the PYTHONPATH checks.  So a bunch more commits
> to revert.

One of the goals of this change is to abolish the need for PYTHONPATH to
be set. I'll exoplain the reasoning behind this change in my reply to Fred.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170927/279e103d/attachment.bin>


More information about the devel mailing list