Any suggestions on working around the following error? morla:/Users/jsumners root# port -fd install gnome-desktop DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-desktop DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-desktop DEBUG: Requested variant powerpc is not provided by port gnome-desktop. DEBUG: Requested variant darwin is not provided by port gnome-desktop. DEBUG: Requested variant macosx is not provided by port gnome-desktop. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/fribidi DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/fribidi DEBUG: Requested variant powerpc is not provided by port fribidi. DEBUG: Requested variant darwin is not provided by port fribidi. DEBUG: Requested variant macosx is not provided by port fribidi. DEBUG: Searching for dependency: fribidi DEBUG: Found Dependency: receipt exists for fribidi DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/startup-notification DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/startup-notification DEBUG: Requested variant powerpc is not provided by port startup-notification. DEBUG: Requested variant darwin is not provided by port startup-notification. DEBUG: Requested variant macosx is not provided by port startup-notification. DEBUG: Searching for dependency: startup-notification DEBUG: Found Dependency: receipt exists for startup-notification DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/libgnomeui DEBUG: Requested variant powerpc is not provided by port libgnomeui. DEBUG: Requested variant darwin is not provided by port libgnomeui. DEBUG: Requested variant macosx is not provided by port libgnomeui. DEBUG: Searching for dependency: libgnomeui DEBUG: Found Dependency: receipt exists for libgnomeui DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Requested variant powerpc is not provided by port dbus. DEBUG: Requested variant darwin is not provided by port dbus. DEBUG: Requested variant macosx is not provided by port dbus. DEBUG: Searching for dependency: dbus DEBUG: Found Dependency: receipt exists for dbus DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus-glib DEBUG: Requested variant powerpc is not provided by port dbus-glib. DEBUG: Requested variant darwin is not provided by port dbus-glib. DEBUG: Requested variant macosx is not provided by port dbus-glib. DEBUG: Searching for dependency: dbus-glib DEBUG: Found Dependency: receipt exists for dbus-glib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-doc-utils DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnome-doc-utils DEBUG: Requested variant powerpc is not provided by port gnome-doc-utils. DEBUG: Requested variant darwin is not provided by port gnome-doc-utils. DEBUG: Requested variant macosx is not provided by port gnome-doc-utils. DEBUG: Searching for dependency: gnome-doc-utils DEBUG: Found Dependency: receipt exists for gnome-doc-utils DEBUG: Skipping completed org.macports.main (gnome-desktop) DEBUG: Skipping completed org.macports.fetch (gnome-desktop) DEBUG: Skipping completed org.macports.checksum (gnome-desktop) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (gnome-desktop) DEBUG: Skipping completed org.macports.patch (gnome-desktop) DEBUG: Skipping completed org.macports.configure (gnome-desktop) ---> Building gnome-desktop with target all DEBUG: Executing org.macports.build (gnome-desktop) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-desktop/work/gnome-desktop-2.20.1" && make all' make all-recursive Making all in po make[2]: Nothing to be done for `all'. Making all in libgnome-desktop Making all in libgnome make[3]: Nothing to be done for `all'. Making all in libgnomeui make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in gnome-about Making all in headers make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in pixmaps make[2]: Nothing to be done for `all'. Making all in desktop-docs Making all in fdl make[3]: Nothing to be done for `all'. Making all in gpl make[3]: Nothing to be done for `all'. Making all in lgpl if ! test -d ar/; then mkdir ar/; fi if [ -f "C/lgpl.xml" ]; then d="../"; else d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-desktop/work/gnome-desktop-2.20.1/desktop-docs/lgpl/"; fi; \ (cd ar/ && \ `which xml2po` -e -p \ "${d}ar/ar.po" \ "${d}C/lgpl.xml" > lgpl.xml.tmp && \ cp lgpl.xml.tmp lgpl.xml && rm -f lgpl.xml.tmp) Traceback (most recent call last): File "/opt/local/bin/xml2po", line 802, in <module> CurrentXmlMode = load_mode(default_mode)() File "/opt/local/bin/xml2po", line 674, in load_mode module = __import__(modename) File "/opt/local/share/xml2po/docbook.py", line 39, in <module> import md5 File "/opt/local/lib/python2.5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 make[3]: *** [ar/lgpl.xml] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-desktop/work/gnome-desktop-2.20.1" && make all " returned error 2 Command output: Making all in fdl make[3]: Nothing to be done for `all'. Making all in gpl make[3]: Nothing to be done for `all'. Making all in lgpl if ! test -d ar/; then mkdir ar/; fi if [ -f "C/lgpl.xml" ]; then d="../"; else d="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-desktop/work/gnome-desktop-2.20.1/desktop-docs/lgpl/"; fi; \ (cd ar/ && \ `which xml2po` -e -p \ "${d}ar/ar.po" \ "${d}C/lgpl.xml" > lgpl.xml.tmp && \ cp lgpl.xml.tmp lgpl.xml && rm -f lgpl.xml.tmp) Traceback (most recent call last): File "/opt/local/bin/xml2po", line 802, in <module> CurrentXmlMode = load_mode(default_mode)() File "/opt/local/bin/xml2po", line 674, in load_mode module = __import__(modename) File "/opt/local/share/xml2po/docbook.py", line 39, in <module> import md5 File "/opt/local/lib/python2.5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 make[3]: *** [ar/lgpl.xml] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for gnome-desktop): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
On Oct 26, 2007, at 2:51 PM, James Sumners wrote:
Any suggestions on working around the following error? ImportError: No module named _md5
perhaps an undeclared dependency on py25-hashlib try 'sudo port install py25-hashlib' and then try installing again. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
That seems to have solved it. Thanks. On 10/26/07, Daniel J. Luke <dluke@geeklair.net> wrote:
On Oct 26, 2007, at 2:51 PM, James Sumners wrote:
Any suggestions on working around the following error? ImportError: No module named _md5
perhaps an undeclared dependency on py25-hashlib
try 'sudo port install py25-hashlib' and then try installing again. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
-- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59
participants (2)
-
Daniel J. Luke
-
James Sumners