Created on 2010-02-08 16:52 by nascheme, last changed 2010-02-11 22:17 by rpetrov.
| Messages (2) | |||
|---|---|---|---|
| msg99054 - (view) | Author: Neil Schemenauer (nascheme) * | Date: 2010-02-08 16:52 | |
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). |
|||
| msg99242 - (view) | Author: Roumen Petrov (rpetrov) | Date: 2010-02-11 22:17 | |
r78136 completely broke this build. before was enough to add "old workdir" in first place as library directory to make test_get_outputs happy |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-02-11 22:17:21 | rpetrov | set | nosy:
+ rpetrov messages: + msg99242 |
| 2010-02-08 16:52:32 | nascheme | create | |