Mark Summerfield | 18 Jun 2012 08:46

is it possible to use a local tcl/tk with a local python?

Hi,

Right now I have several local pythons so that I can test against
multiple versions, e.g.,

~/opt/python31
~/opt/python32
~/opt/python33

But all of these use the system-wide Tcl/Tck (8.5.11) in /usr/lib.

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.

Can anyone advise me?
(Continue reading)

Michael Lange | 18 Jun 2012 11:04
Picon

Re: is it possible to use a local tcl/tk with a local python?

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

(Continue reading)

Ned Deily | 18 Jun 2012 18:57
Picon
Favicon
Gravatar

Re: is it possible to use a local tcl/tk with a local python?

In article <20120618074633.68b83d12 <at> dino>,
 Mark Summerfield <list <at> qtrac.plus.com> wrote:
> But I can't figure out how to tell Python's configure to use a local
> Tcl/Tk.
> 
> Can anyone advise me?

http://permalink.gmane.org/gmane.comp.python.general/711390

--

-- 
 Ned Deily,
 nad <at> acm.org

Gmane