_tkinter installation in python 2.5 on mandriva with a default 2.4
"Martin v. Löwis"
martin at v.loewis.de
Wed Oct 31 14:46:55 EDT 2007
> Those TK libraries tcllib=None tklib=None tcl_includes=None
> tk_includes=None
This also contradicts your earlier statement that you have libtk8.4.so
on your machine.
> I don't understand why the headers report None as the file tk.h is
> in /usr/include ... or is the lack of the word generic more of a
> problem?
Please read detect_tkinter in detail: if it already fails to find
tklib or tcllib, it won't check for header files at all.
You should now trace through find_library_file with
print statements. Check whether compiler.find_library_file
returns not None, if yes, report what it returns. Otherwise,
annotate compiler.find_library_file. Print compiler.find_library_file
to see what specific function it is; likely something in
unixccompiler.py.
If so, print out shared, dylib, static, and os.path.exists of each one.
HTH,
Martin
More information about the Python-list
mailing list