Rich pointed me to a "code review" email that mentions a couple of more
packages, but still no luck after installing:
SUNWPython26-extra SUNWgnome-python26-libs SUNWgnome-python26-extras
SUNWpython26-setuptools
A couple of these have dependencies on other packages, which I did not
pull in, for fear of a continued unraveling thread of dependencies. I
don't think that would be the cause of the error below, but don't really
know.
-- Alan
Alan Steinberg wrote:
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
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss