homepage

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 terry.reedy
Recipients brian.curtin, loewis, terry.reedy, tim.golden
Date 2012年01月15日.04:59:14
SpamBayes Score 2.9359131e-05
Marked as misclassified No
Message-id <1326603556.49.0.117233546142.issue13789@psf.upfronthosting.co.za>
In-reply-to
Content
Modules/_tkinter.py #includes Modules/tkinter.h, tcl.h, and tk.h. The latter two #include tclDecls.h, tclPlatDecls.h, and tkDecls.h. I obtained 8.5.9 versions of all 5 and added them to Include/. Although they came from Ubuntu, they appear to be cross-platform in that they look for Mac and Win defines. They make the corresponding build errors go away. However, one remains: a failure to open X11/Xlib.h.
This must come from the following in tk.h:
#ifndef RC_INVOKED
#ifndef _XLIB_H
# if defined(MAC_OSX_TK)
# include <X11/Xlib.h>
# include <X11/X.h>
# else
# include <X11/Xlib.h>
# endif
#endif
#ifdef __STDC__
# include <stddef.h>
#endif
It seems this tk.h header, at least, expects RC_INVOKED to be defined on non-X11 platforms. Something here is crucially different than on the machine that builds Python for windows. The version of tk.h? the absence of X11/xlib.h? the pcbuild stuff? or the Visual Studio version?
I tried to compile PCbuild/pcbuild.sln with VC2008 Express in the 3.3, 3.2, and 2.7 repositories. For 3.3, I tried both debug and release builds.
History
Date User Action Args
2012年01月15日 04:59:16terry.reedysetrecipients: + terry.reedy, loewis, tim.golden, brian.curtin
2012年01月15日 04:59:16terry.reedysetmessageid: <1326603556.49.0.117233546142.issue13789@psf.upfronthosting.co.za>
2012年01月15日 04:59:15terry.reedylinkissue13789 messages
2012年01月15日 04:59:14terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /