
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2013-04-18 19:46 bychristian.heimes, last changed2022-04-11 14:57 byadmin. This issue is nowclosed.
| Messages (7) | |||
|---|---|---|---|
| msg187284 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2013-04-18 19:46 | |
The pyconfig.h file of the Windows build environment defines at least two macros without a Py/PY prefix:PC/pyconfig.h:#define PREFIX ""PC/pyconfig.h:#define EXEC_PREFIX ""This has caused multiple issues in the past. For example libexpat uses PREFIX, too. When I was working on my XML patches it took me about half an hour to fix the build on Windows. PyLucence's JCC has run into the same issue, too.http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201304.mbox/browserCan we change the name of PREFIX to PY_PREFIX nad EXEC_PREFIX to PY_EXEC_PREFIX? | |||
| msg191770 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2013-06-24 14:33 | |
It looks like we can drop PREFIX and EXEC_PREFIX fromPC/pyconfig.h all along. OnlyModules/getpath.c uses PREFIX and EXEC_PREFIX but MSVC build usePC/getpathp.c instead ofModules/getpath.c | |||
| msg200760 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2013-10-21 12:17 | |
ping RMs and Windows devs | |||
| msg201006 -(view) | Author: Tim Golden (tim.golden)*![]() | Date: 2013-10-23 08:56 | |
Ok by me: build and tests all ok. | |||
| msg201007 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2013-10-23 08:58 | |
Fantastic! Does anybody know anything about Cygwin builds? I expect that Cygwin uses autoconf to generate its own pyconfig.h. | |||
| msg203162 -(view) | Author: Christian Heimes (christian.heimes)*![]() | Date: 2013-11-17 14:13 | |
I'll remove the offending lines later. | |||
| msg203502 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2013-11-20 16:40 | |
New changesetfbd856e817a1 by Christian Heimes in branch 'default':Issue#17791: Drop PREFIX and EXEC_PREFIX definitions fromPC/pyconfig.hhttp://hg.python.org/cpython/rev/fbd856e817a1 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:44 | admin | set | github: 61991 |
| 2013-11-20 16:40:52 | christian.heimes | set | status: open -> closed resolution: fixed stage: needs patch -> resolved |
| 2013-11-20 16:40:42 | python-dev | set | nosy: +python-dev messages: +msg203502 |
| 2013-11-17 14:13:51 | christian.heimes | set | assignee:christian.heimes messages: +msg203162 |
| 2013-10-23 08:58:46 | christian.heimes | set | messages: +msg201007 |
| 2013-10-23 08:56:55 | tim.golden | set | messages: +msg201006 |
| 2013-10-21 12:17:04 | christian.heimes | set | nosy: +larry,tim.golden,brian.curtin messages: +msg200760 |
| 2013-06-24 14:33:54 | christian.heimes | set | messages: +msg191770 |
| 2013-04-18 19:46:19 | christian.heimes | create | |