Here's what I tried:
download tcl8.5.7-src.tar.gz and tk8.5.7-src.tar.gz from
http://www.tcl.tk/software/tcltk/download.html
run ./configure --enable-framework --disable-xft in the unix/
subdirectory of tcl, then make & make install as normal
run ./configure --enable-framework --disable-xft in the unix/
subdirectory of tk, then make & make install as normal
/Applications/sage/sage -sh
cd /Applications/sage/spkg/standard/python-2.5.2.p9/src/
[edit setup.py as suggested at http://trac.sagemath.org/sage_trac/ticket/4970]
./spkg-install
ERROR:
/usr/bin/install -c -m 644 ./Misc/python.man \
/Applications/sage/local/share/man/man1/python.1
Copying 64 bit OSX specific pymactoolbox.h
Sleeping for three seconds before testing python
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/sage/local/lib/python2.5/md5.py", line 6, in
<module>
from hashlib import md5
File "/Applications/sage/local/lib/python2.5/hashlib.py", line 133,
in <module>
md5 = __get_builtin_constructor('md5')
File "/Applications/sage/local/lib/python2.5/hashlib.py", line 60,
in __get_builtin_constructor
import _md5
ImportError: No module named _md5
md5 module failed to import
OK, that failed, trying something different...
Download tcltk from: http://nullhomotopie.de/tcltk8.5.7.spkg (as per
instructions on http://wiki.sagemath.org/Yacop)
./sage -f spkg/optional/tcltk8.5.7.spkg spkg/standard/
matplotlib-0.98.5.3rc0-svn6910.p3 spkg/standard/python-2.5.2.p9
Then try to import _tkinter....:
/Applications/sage$ ./sage -c "import _tkinter"
Traceback (most recent call last):
File "/Applications/sage/local/bin/sage-eval", line 14, in <module>
eval(compile(s,'<cmdline>','exec'))
File "<cmdline>", line 1, in <module>
ImportError: No module named _tkinter
So I'm still stuck. Any ideas?
Thanks,
Adam
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---