[Tkinter-discuss] Building python 2.6.5 w/TK-TCL 8.5.11 on linux, 32 & 64 bit

Michael Lange klappnase at web.de
Tue Feb 14 20:02:39 CET 2012


Hi,

Thus spoketh jrm at exa.com 
unto us on Tue, 14 Feb 2012 12:26:01 -0500 (EST):

> I may have made some headway, everything seems to build, but still no
> joy.
> 
> 1) My configure command looks like this:
> 
>   ./configure --prefix="/proj/python/2.6.5-08-jrm-01/x86_linux_na" \
>                    --with-tk="/proj/tools/tk/8.5.11-01/x86_linux_na/lib"
> \
>                   --with-tcl="/proj/tools/tcl/8.5.11-01/x86_linux_na/lib"
> \

(...)

> 5) Yet, at the ultimate moment of invocation.... :( !!!!
> 
> 
> dust:/sw/registry/13796-tk_python-01/serverdist/dist/x86_linux/lib%
> exapython Python 2.6.5 (r265:79063, Feb 14 2012, 11:46:18)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Tkinter
> >>> print Tkinter.TkVersion
> 8.4

maybe you could try a quick and dirty way of fixing this, and (if
possible) remove the tcl- and tk-dev(el) packages of the 8.4 version,
it looks like something (maybe the tclConfig.sh and/or tkConfig.sh ? Or
rather the *.h files ?) are present somewhere and setup.py uses these
instead of the correct 8.5-files. I admit that I don't know the
"official" way to handle this either, it should definitely be possible
somehow. However, at least with Python-2.7.2 when trying to pass
--with-tk and --with-tcl to configure I get:

   # ./configure --with-tk=/foo --with-tcl=/bar
   configure: WARNING: unrecognized options: --with-tk, --with-tcl

so it is no surprise that these don't have any effect. After this
configure runs smoothly, so maybe you just missed this error message?

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"What happened to the crewman?"
	"The M-5 computer needed a new power source, the crewman merely
        got in the way."
		-- Kirk and Dr. Richard Daystrom, "The Ultimate Computer",
		   stardate 4731.3.


More information about the Tkinter-discuss mailing list