[Tkinter-discuss] is it possible to use a local tcl/tk with a local python?
Michael Lange
klappnase at web.de
Mon Jun 18 11:04:23 CEST 2012
Thus spoketh Mark Summerfield <list at qtrac.plus.com>
unto us on Mon, 18 Jun 2012 07:46:33 +0100:
> What I'd really like to do is have:
>
> ~/opt/python31tk85
> ~/opt/python32tk85
> ~/opt/python33tk85
>
> ~/opt/python31tk86
> ~/opt/python32tk86
> ~/opt/python33tk86
>
> where these are built with one of these:
>
> ~/opt/tcltk85
> ~/opt/tcltk86
>
> But I can't figure out how to tell Python's configure to use a local
> Tcl/Tk.
I remember that I have been struggling with the same problem some time
ago and never found a really satisfying solution. IIRC what worked best
here was to temporarily remove the system default tcl/tk development
packages and then do something like
$ export LD_LIBRARY_PATH=~/opt/tcltk85
before running ./configure .
Regards
Michael
.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.
... The prejudices people feel about each other disappear when they get
to know each other.
-- Kirk, "Elaan of Troyius", stardate 4372.5
More information about the Tkinter-discuss
mailing list