I'm having problems getting Python 2.1 to compile with tkinter support enabled in the Modules/Setup file ... I get a whole bunch of this stuff ... /usr/openwin/include/X11/Xlib.h:4121: warning: type defaults to `int' in declaration of `XUnmapWindow' /usr/openwin/include/X11/Xlib.h:4141: warning: type defaults to `int' in declaration of `XWarpPointer' /usr/openwin/include/X11/Xlib.h:4162: warning: type defaults to `int' in declaration of `XWindowEvent' ... then ... ./Modules/_tkinter.c: In function `Tkapp_Call': ./Modules/_tkinter.c:615: warning: passing arg 4 of `Tcl_EvalObjv' makes pointer from integer without a cast ./Modules/_tkinter.c:615: too few arguments to function `Tcl_EvalObjv' *** Error code 1 make: Fatal error: Command failed for target `Modules/_tkinter.o' I have the same problem when trying to link against tk/tcl8.0 and 8.1a2 (we have both installed). Any ideas how to fix? Stuart PS. I've checked that the tk/tcl version numbers match up with the relevant lib and include paths. Also ran make clean between changes. PPS. Is it possible to install tkinter later using setup.py? If so, how?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4