Error during installation : code for hash md5 was not found.
I am trying to install Sage-5.2 on Redhat 6.3 in a nonstandard directory and during the installation I get this error:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/local/eit-linux/storage/sage-5.2-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/local/eit-linux/storage/sage-5.2-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/local/eit-linux/storage/sage-5.2-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 139, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/local/eit-linux/storage/sage-5.2-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux/local/lib/python/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha1
This is one of the many errors similar to this kind. I am downloading Sage-5.2 again and going to try installing again, but this has happened twice now.
Looking further into the error, it occurs here: ./sage -b ---------------------------------------------------------- sage: Building and installing modified Sage library files. Installing c_lib