[Python-Dev] extension module .o files wind up in the wrong place
Guido van Rossum
guido@python.org
Tue, 03 Dec 2002 03:25:46 -0500
> If this involves VPATH, I think I might know what's happening --
> something similar happened to me recently.
>
> Have you by any chance previously done a non-VPATH build in the source
> tree?
>
> It seems that, when using a VPATH, any pathname referencing something
> in the build directory for which a corresponding file exists in the
> VPATH directory gets changed to refer to the VPATH directory. So you
> need to make sure there are *only* source files in the source tree
> before doing a build using a VPATH.
This is indeed a common pitfall (== I've wasted an hour debugging this
once :-). Can someone add a note to README?
--Guido van Rossum (home page: http://www.python.org/~guido/)