Preparing for a point release
hmurray at megapathdsl.net
Fri Dec 8 05:25:35 UTC 2017
> And worse, SOME of my install goes in /usr, some in /usr/local. It should
> be all one, or all the other.
./waf configure --prefix=foo
PREFIX : /home/murray/ntpsec/raw/foo
After ./waf build, ./waf install says:
WafError: Could not install the file '/usr/lib/python2.7/site-packages/ntp/ntpc.so'
(I'm running as non-root, expecting stuff to go to foo, so the error is expected if it tries to install there.)
As a test case, I tried:
./waf install --destdir=foo
That doesn't crash.
Looks like install is ignoring the prefix for the pylib code. The c programs and the main python programs from ntpclients are going to the right place. (I think)
+ install /home/murray/ntpsec/raw/foo/home/murray/ntpsec/raw/foo/share/man/man8/ntptime.8 (from build/main/ntptime/ntptime.8)
+ install /home/murray/ntpsec/raw/foo/usr/lib/python2.7/site-packages/ntp/__init__.py (from build/main/pylib/__init__.py)
+ install /home/murray/ntpsec/raw/foo/usr/lib/python2.7/site-packages/ntp/version.pyo (from build/main/pylib/version.pyo)
+ install /home/murray/ntpsec/raw/foo/home/murray/ntpsec/raw/foo/bin/ntpleapfetch (from build/main/ntpclients/ntpleapfetch)
These are my opinions. I hate spam.
More information about the devel