[Python-Dev] Modules/makesetup loop

Fred L. Drake, Jr. fdrake@acm.org
Thu, 2 Nov 2000 14:31:59 -0500 (EST)


[We've uncovered the root of Jeremy's problem here -- this is a
 problem/limitation of make with VPATH.]

Jeremy Hylton writes:
 > There is a Setup.local in the source directory.

  That's why it isn't being built.  Since it's on the VPATH, make
thinks it already exists in a usable form.  Since the command that
uses it doesn't look for the "most local" version but assumes it
exists in the right place, the command fails.
  This is a problem that exists with VPATH; the built files cannot
already exist in the source directories (hence, the build directories
can't refer to source dirs which have been used as build dirs; "make
clobber" isn't good enough for the Setup* files).
  Remove (or move) the existing file, and it should work fine.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations