--- setupext.py.orig 2009-08-23 01:27:32.000000000 -0400 +++ setupext.py 2010-01-10 10:24:40.000000000 -0500 @@ -792,6 +792,7 @@ explanation = str(e) gotit = False else: + print ">>>",module.include_dirs if not find_include_file(module.include_dirs, "tk.h"): message = 'Tkinter present, but header files are not found. ' + \ 'You may need to install development packages.' @@ -956,10 +957,10 @@ return tcl_lib, tcl_inc, tk_lib, tk_inc def hardcoded_tcl_config(): - tcl_inc = "/usr/local/include" - tk_inc = "/usr/local/include" - tcl_lib = "/usr/local/lib" - tk_lib = "/usr/local/lib" + tcl_inc = "/usr/include" + tk_inc = "/usr/include" + tcl_lib = "/usr/lib" + tk_lib = "/usr/lib" return tcl_lib, tcl_inc, tk_lib, tk_inc def add_tk_flags(module):