Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue17791

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:PC/pyconfig.h defines PREFIX macro
Type:compile errorStage:resolved
Components:Build, WindowsVersions:Python 3.4
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: christian.heimesNosy List: brian.curtin, christian.heimes, larry, loewis, python-dev, tim.golden
Priority:normalKeywords:

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)*(Python committer)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)*(Python committer)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)*(Python committer)Date: 2013-10-21 12:17
ping RMs and Windows devs
msg201006 -(view)Author: Tim Golden (tim.golden)*(Python committer)Date: 2013-10-23 08:56
Ok by me: build and tests all ok.
msg201007 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)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)*(Python committer)Date: 2013-11-17 14:13
I'll remove the offending lines later.
msg203502 -(view)Author: Roundup Robot (python-dev)(Python triager)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
DateUserActionArgs
2022-04-11 14:57:44adminsetgithub: 61991
2013-11-20 16:40:52christian.heimessetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2013-11-20 16:40:42python-devsetnosy: +python-dev
messages: +msg203502
2013-11-17 14:13:51christian.heimessetassignee:christian.heimes
messages: +msg203162
2013-10-23 08:58:46christian.heimessetmessages: +msg201007
2013-10-23 08:56:55tim.goldensetmessages: +msg201006
2013-10-21 12:17:04christian.heimessetnosy: +larry,tim.golden,brian.curtin
messages: +msg200760
2013-06-24 14:33:54christian.heimessetmessages: +msg191770
2013-04-18 19:46:19christian.heimescreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp