> On 12/20/2022 12:24 AM PST Hal Murray <halmur...@sonic.net> wrote:
> 
> 
> > Bumping waf (2.0.23 tested) resolves this, and it only happens for the
> > extension because, for some raisin, waf is outputting to the wrong file name
> > of ntpc rather than ntpc.cpython-311-x86_64-linux-gnu.so , go figure.
> 
> > The default of the FFI library + ctypes is unaffected.
> 
> Interesting. Thanks.
> 
> waf 2.0.23 doesn't fix it for me. Maybe I didn't do it right.
> Do I just download it and raname it to waf? Or do I have to do some magic to 
> install it?
> 
> One of the options being tested by test-all is --enable-pylib=ext
> What does that do?
> 
> test-classic does --enable-pylib=ffi
> That seems to work.

`curl -o waf https://waf.io/waf-2.0.24` The link on the page 
said 2.0.23 .

There are two methods atm to provide ntp.ntpc the first is a
Python extension that goes in the same directory as the rest
of the NTP module, and the newer is a C library that can be
used by using and Foreign Function Interface wrapper (on
Python that's ctypes). The latter is the default, and the same
pure Python module can be used for multiple Python versions.
_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to