2.3 Redhat 9 Tkinter IDLE

RT Lange whiteywidow at yahoo.com
Sun Aug 3 11:57:05 EDT 2003


On Sun, 03 Aug 2003 09:50:26 +0200, Martin v. Löwis wrote:

> No, you don't have to edit Modules/Setup. _tkinter is built
> automatically if you have the header files installed.
i have the header files: /usr/include/tcl.h;/usr/include/tk.h

> Sorry, I don't have Redhat 9, so I don't know what the name of the
> package is that contains the Tk header files. It probably has the
> strings "tcl" and "dev" in their name.
the package is buried under "Kernel Development"

> It would be better if you reported the steps you have been doing, and
> the problems you see.
[root@/usr/lib/Python-2.3]# make
case $MAKEFLAGS in \
*-s*)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall 
	-Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*)  CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall 
	-Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
running build
running build_ext
building '_tkinter' extension
gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -fno-strict-aliasing -DWITH_APPINIT=1 
	-I/usr/X11R6/include -I. -I/usr/lib/Python-2.3/./Include -I/usr/local/include 
	-I/usr/lib/Python-2.3/Include -I/usr/lib/Python-2.3 -c /usr/lib/Python-2.3/Modules/_tkinter.c 
	-o build/temp.linux-i686-2.3/_tkinter.o
/usr/lib/Python-2.3/Modules/_tkinter.c:96:2: #error "unsupported Tcl configuration"
/usr/lib/Python-2.3/Modules/_tkinter.c: In function `AsObj':
/usr/lib/Python-2.3/Modules/_tkinter.c:947: warning: passing arg 1 of `Tcl_NewUnicodeObj' from 
	incompatible pointer type
/usr/lib/Python-2.3/Modules/_tkinter.c: In function `FromObj':
/usr/lib/Python-2.3/Modules/_tkinter.c:1073: warning: passing arg 1 of `PyUnicodeUCS2_FromUnicode' 
	from incompatible pointer type
running build_scripts






More information about the Python-list mailing list