Problems building Python tkinter module on Solaris

Eric Brunel eric.brunel at pragmadev.com
Wed Apr 17 05:57:52 EDT 2002


Alex Jacques wrote:
[snip]
> I read the Python FAQ 3.18 and other mentions of trying another version of
> tcl/tk. Since I cannot remove the tcl/tk in my /usr/local (insufficent
> privilege, and other folks use it), I built tcl/tk 8.3.4 in my
> /usr/freeware tree (same place where I build/install Python).
> 
> My Python build "procedure" is
> 
> ./configure --prefix=/usr/freeware
> make
> 
> No luck: the make file still grabs the tcl/tk stuff from /usr/local.

To get Tcl/Tk from another location, you have to edit your Setup file in 
the Modules sub-directory of your Python installation. Search for 
"_tkinter" and edit the appropriate lines. Refer to the comments in the 
file: they're quite clear...

HTH
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com




More information about the Python-list mailing list