Problems compiling _tkinter

Martin v. Löwis martin.vonloewis at hpi.uni-potsdam.de
Tue Apr 22 15:20:20 EDT 2003


> 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?

You can ignore the compiler warnings: they are about constness problems.

To find out why linking the module fails, you should try to import the
module manually, and see what error message that produces. A copy
of the module should still exist in build/lib*, under a different name.

Regards,
Martin






More information about the Python-list mailing list