Problems compiling _tkinter
David Pugh
dpugh at uwc.ac.za
Tue Apr 22 05:08:54 EDT 2003
Dear Python people,
I get the following errors when I try to make python2.2.2:
building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1
-I/usr/X11R6/include -I. -I/usr/local/Python-2.2.2/./Include
-I/usr/local/include -I/usr/local/Python-2.2.2/Include
-I/usr/local/Python-2.2.2 -c /usr/local/Python-2.2.2/Modules/_tkinter.c
-o build/temp.linux-i686-2.2/_tkinter.o
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function `Merge':
/usr/local/Python-2.2.2/Modules/_tkinter.c:351: warning: passing arg 2
of `Tcl_Merge' from incompatible pointer type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function `Split':
/usr/local/Python-2.2.2/Modules/_tkinter.c:383: warning: passing arg 4
of `Tcl_SplitList' from incompatible pointer type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function `Tkapp_Call':
/usr/local/Python-2.2.2/Modules/_tkinter.c:627: warning: initialization
discards qualifiers from pointer target type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function `SetVar':
/usr/local/Python-2.2.2/Modules/_tkinter.c:935: warning: assignment
discards qualifiers from pointer target type
/usr/local/Python-2.2.2/Modules/_tkinter.c:947: warning: assignment
discards qualifiers from pointer target type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function `GetVar':
/usr/local/Python-2.2.2/Modules/_tkinter.c:988: warning: assignment
discards qualifiers from pointer target type
/usr/local/Python-2.2.2/Modules/_tkinter.c:991: warning: assignment
discards qualifiers from pointer target type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function
`Tkapp_SplitList':
/usr/local/Python-2.2.2/Modules/_tkinter.c:1197: warning: passing arg 4
of `Tcl_SplitList' from incompatible pointer type
/usr/local/Python-2.2.2/Modules/_tkinter.c: In function
`Tkapp_CreateCommand':
/usr/local/Python-2.2.2/Modules/_tkinter.c:1357: warning: passing arg 3
of `Tcl_CreateCommand' from incompatible pointer type
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1
-I/usr/X11R6/include -I. -I/usr/local/Python-2.2.2/./Include
-I/usr/local/include -I/usr/local/Python-2.2.2/Include
-I/usr/local/Python-2.2.2 -c
/usr/local/Python-2.2.2/Modules/tkappinit.c -o
build/temp.linux-i686-2.2/tkappinit.o
gcc -shared build/temp.linux-i686-2.2/_tkinter.o
build/temp.linux-i686-2.2/tkappinit.o -L/usr/X11R6/lib -L/usr/local/lib
-ltk8.4 -ltcl8.4 -lX11 -o build/lib.linux-i686-2.2/_tkinter.so
WARNING: removing "_tkinter" since importing it failed
The only other errors in the make are some warnings about tempnam_r in
posixmodule.c.
Any ideas?
David
--------------------------------
Dr DJR Pugh
Department of Biotechnology
University of the Western Cape
Private Bag X17
Bellville 7535
South Africa
tel: 2721 959 2211
fax: 2721 959 3505
email: dpugh at uwc.ac.za
More information about the Python-list
mailing list