Hello,
I'm getting an error while compiling SAGE - no module named crypt.  I
am on Linux Mint Debian Edition x64.

Similar Error is here:
http://groups.google.com/group/sage-support/browse_thread/thread/d60f8c37fb708420

I replaced SAGE_ROOT/spkg/standard/python-2.6.4.p10.spkg
with http://users.aims.ac.za/~jan/python-2.6.4.p11.spkg

Thanks, Roman



Relevant part of the log is below:



running install_egg_info
Removing /home/roman/Software/sage-4.7/local/lib/python2.6/lib-dynload/
Python-2.6.4-py2.6.egg-info
Writing /home/roman/Software/sage-4.7/local/lib/python2.6/lib-dynload/
Python-2.6.4-py2.6.egg-info
if test -f /home/roman/Software/sage-4.7/local/bin/python -o -h /home/
roman/Software/sage-4.7/local/bin/python; \

then rm -f /home/roman/Software/sage-4.7/local/bin/python; \

else true; \

fi
(cd /home/roman/Software/sage-4.7/local/bin; ln python2.6 python)
rm -f /home/roman/Software/sage-4.7/local/bin/python-config
(cd /home/roman/Software/sage-4.7/local/bin; ln -s python2.6-config
python-config)
/usr/bin/install -c -m 644 ./Misc/python.man \

/home/roman/Software/sage-4.7/local/share/man/man1/python.1
make[2]: Leaving directory `/home/roman/Software/sage-4.7/spkg/build/
python-2.6.4.p11/src'
Sleeping for three seconds before testing python
math module imported OK
hashlib module imported OK
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named crypt
crypt module failed to import

real    1m49.117s
user    1m19.465s
sys     0m11.201s
sage: An error occurred while installing python-2.6.4.p11
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/roman/Software/sage-4.7/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/roman/Software/sage-4.7/spkg/build/python-2.6.4.p11 and type
'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/roman/Software/sage-4.7/spkg/build/python-2.6.4.p11' && '/
home/roman/Software/sage-4.7/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/python-2.6.4.p11] Error 1
make[1]: Leaving directory `/home/roman/Software/sage-4.7/spkg'

real    1m53.237s
user    1m22.993s
sys     0m11.537s
Error building Sage.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to