py26-enchant missing lib '_md5'

Philip Hudson phil.hudson at iname.com
Sat Mar 26 08:04:02 PDT 2011


Titanium PowerBook G4, 1GHz, OS 10.5.8

> :info:destroot   File "/opt/local/Library/Frameworks/ 
> Python.framework/Versions/2.6/lib/python2.6/hashlib.py"
> , line 63, in __get_builtin_constructor
> :info:destroot     import _md5
> :info:destroot ImportError: No module named _md5
> :info:destroot shell command " cd "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macpo
> rts.org_release_ports_python_py26-enchant/work/pyenchant-1.6.5" && / 
> opt/local/Library/Frameworks/Python.fram
> ework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg install -- 
> prefix=/opt/local/Library/Frameworks/Pytho
> n.framework/Versions/2.6 --root=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py26-enchant/work/destroot " returned  
> error 1
> :error:destroot Target org.macports.destroot returned: shell command  
> failed (see log for details)
> :debug:destroot Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec destroot"
>     (procedure "portdestroot::destroot_main" line 2)
>     invoked from within
> "$procedure $targetname"
> :info:destroot Warning: the following items did not execute (for  
> py26-enchant): org.macports.activate org.ma
> cports.destroot org.macports.install
> :error:destroot Failed to install py26-enchant
> :notice:destroot Log for py26-enchant is at: /opt/local/var/macports/ 
> logs/_opt_local_var_macports_sources_rs
> ync.macports.org_release_ports_python_py26-enchant/main.log

Googled lots, going round in circles: hashlib, openssl, md5, _md5,  
wtf... doesn't seem to make a difference whether OS X Python or  
MacPorts Python is first on $PATH...

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63



More information about the macports-users mailing list