A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/085648.html below:

Python2.1 compile prob with tk 8.0/8.1a2 on Solaris 5.7

Python2.1 compile prob with tk 8.0/8.1a2 on Solaris 5.7Stuart I Reynolds sir at cs.bham.ac.uk
Tue Apr 17 14:05:58 EDT 2001
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?

More information about the Python-list mailing list

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