Hello,<div><br></div><div>I understand Tkinter is part of the python distribution but for me it always fails when I try to load the module. I get:</div><div><br></div><div>>>> import Tkinter</div><div>...</div><div>
import _tkinter # if this fails your Python may not be configured for Tk</div><div>ImportError: No module named _tkinter</div><div><br></div><div><br></div><div>So, here is how I am compiling tcl/tk and Python please let me know if you see any issues with this.</div>
<div><br></div><div>assuming, my prefix is /tmp/testdir</div><div><br></div><div>wget <a style="color:#3465a4" href="http://prdownloads.sourceforge.net/tcl/tcl8.5.11-src.tar.gz">http://prdownloads.sourceforge.net/tcl/tcl8.5.11-src.tar.gz</a><br>
wget <a style="color:#3465a4" href="http://prdownloads.sourceforge.net/tcl/tk8.5.11-src.tar.gz">http://prdownloads.sourceforge.net/tcl/tk8.5.11-src.tar.gz</a><br><br>tar -xzpf tcl8.5.11-src.tar.gz && tar -xzpf tk8.5.11-src.tar.gz<br>
<br>#compile tcl<br>cd tcl8.5.11/unix/<br>./configure --prefix=/tmp/testdir --enable-64bit --enable-threads<br>make<br>make test<br>make install<br><br>#compile tk<br>cd tk8.5.11/unix/<br>./configure --prefix=/tmp/testdir --enable-threads --enable-64-bit --with-tcl=/tmp/testdir/lib<br>
make<br>make install<br><br>#compile python<br>wget <a style="color:#3465a4" href="http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz">http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz</a><br>tar -xzpvf Python-2.7.3.tgz<br>
cd Python-2.7.3/<br>./configure --prefix=/tmp/testdir  --enable-shared LDFLAGS="-Wl,-rpath,/tmp/testdir/lib"<br></div><div><br></div><div><br></div><div>Any thoughts?</div><div><br></div><div>-- <br>--- <span>Get your facts first, then you can distort them as you please.</span>--<br>

</div>