We are trying to build pkg(5) from the current gate/src on a Nevada
system. We installed the three packages SUNWPython26,
SUNWpython26-pyopenssl and SUNWpython26-simplejson, but get the
following make error:
/usr/bin/python2.6 setup.py build
Traceback (most recent call last):
File "setup.py", line 39, in <module>
import hashlib
File "/usr/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/usr/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
The code in hashlib.py shows:
def __get_builtin_constructor(name):
if name in ('SHA1', 'sha1'):
import _sha
return _sha.new
elif name in ('MD5', 'md5'):
import _md5
return _md5.new
But I cannot find any _md5 modules anywhere. Couldn't find anything
useful when I tried googling. Anyone have pointers to a solution? Are we
missing a Python 2.6 package on our system?
-- Alan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss