This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nascheme
Recipients nascheme, tarek
Date 2010-02-08.16:52:31
SpamBayes Score 6.113832e-11
Marked as misclassified No
Message-id <1265647953.87.0.513905112062.issue7885@psf.upfronthosting.co.za>
In-reply-to
Content
Lib/test/test_distutils.py crashes if Python was built in a directory other than the source directory.  Using a separate build directory is handy if you are building Python with different sets of configure options since you only need one copy of the source. For example, in the source directory:

$ mkdir build-opt
$ cd build-opt
$ ../configure
$ make
$ cd ..
$ mkdir build-debug
$ cd build-debug
$ ../configure --with-pydebug
$ make 

I fixed a similar problem in rev 69304 but now it is broken again.  I get:

/tmp/tmpbxrmiB/xxmodule.c:17:20: error: Python.h: No such file or directory

Probably it is looking in the wrong directory for Python.h (assuming that the cwd is the top-level directory of the source).
History
Date User Action Args
2010-02-08 16:52:34naschemesetrecipients: + nascheme, tarek
2010-02-08 16:52:33naschemesetmessageid: <1265647953.87.0.513905112062.issue7885@psf.upfronthosting.co.za>
2010-02-08 16:52:32naschemelinkissue7885 messages
2010-02-08 16:52:31naschemecreate