Python libs on Debian/Raspbian

Gary E. Miller gem at
Wed Dec 20 22:47:47 UTC 2017

Yo Matthew!

I think I'm starting to realize part of the confusion here.

On Tue, 19 Dec 2017 23:32:31 -0500
Matthew Selsky via devel <devel at> wrote:

> On Tue, Dec 19, 2017 at 08:23:08PM -0800, Gary E. Miller via devel
> wrote:
> > Also, remember that we have the contraint where the user may have
> > all four of these installed:
> > 
> > /usr, /usr/lib, ~user, gitclone.  If you have a .pth, then you can
> > no longer use waf to run regression tests on the gitclone dir.  The
> > distro ntpd, the local installed ntpd, the user installed ntpd, and
> > the waf test copy of ntpd, will ALL be forced to use the one and
> > same modules pointed at by the .pth file.  
> We have different paths embedded in the binaries that we run the
> regression tests against.

That statement is 100% false.  

The falsity can be readily verified.  Follow along as I do so:

I start in this directory:


Here is a build recipe:

./waf clean

export DESTDIR=/usr/local/
./waf configure --refclock=all --prefix=BATSHIT && ./waf build  &&./waf install

Taht does a build to here:


Looking in there, no BATSHIT:

# fgrep BATSHIT /u1/local/u1/local/src/NTP/ntpsec/BATSHIT -r

Oddly, the install SAYS it installed everything, but only modeuls got
installed on my system.

The modules installed here (not exactly sure why, problem for another day):


When  I look, no BATSHIT:

# fgrep BATSHIT /usr/local/usr/ -r

So, 100% proven, --prefix does NOT go into ANTYHING that gets installed.

--prefix and DESTDIR, are ONLY used to decide where to install.  And as
the above shows, how they work together not exactly obvious.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the devel mailing list