Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2011 21:35:14 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: devel/libsoup-2.32.2 Compile error _md5 problem
Message-ID:  <4D38F0E2.6050708@FreeBSD.org>
In-Reply-To: <201101202239.42696.david@vizion2000.net>
References:  <201101191704.43383.david@vizion2000.net>	<4D37A874.4020703@FreeBSD.org> <201101202239.42696.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/20/11 5:39 PM, David Southwell wrote:
[...]
> deleted gobject-introspection
> Got the similar error messages--
> 
> Traceback (most recent call last):
>   File "../tools/g-ir-scanner", line 43, in <module>
>     from giscanner.scannermain import scanner_main
>   File "/usr/ports/devel/gobject-introspection/work/gobject-
> introspection-0.9.12/giscanner/scannermain.py", line 34, in <module>
>     from giscanner.dumper import compile_introspection_binary
>   File "/usr/ports/devel/gobject-introspection/work/gobject-
> introspection-0.9.12/giscanner/dumper.py", line 26, in <module>
>     from .gdumpparser import IntrospectionBinary
>   File "/usr/ports/devel/gobject-introspection/work/gobject-
> introspection-0.9.12/giscanner/gdumpparser.py", line 30, in <module>
>     from .transformer import TransformerException
>   File "/usr/ports/devel/gobject-introspection/work/gobject-
> introspection-0.9.12/giscanner/transformer.py", line 26, in <module>
>     from .cachestore import CacheStore
>   File "/usr/ports/devel/gobject-introspection/work/gobject-
> introspection-0.9.12/giscanner/cachestore.py", line 24, in <module>
>     import hashlib
>   File "/usr/local/lib/python2.6/hashlib.py", line 136, in <module>
>     md5 = __get_builtin_constructor('md5')
>   File "/usr/local/lib/python2.6/hashlib.py", line 63, in 
> __get_builtin_constructor
>     import _md5
> ImportError: No module named _md5
> gmake[2]: *** [GLib-2.0.gir] Error 1
> gmake[2]: Leaving directory `/usr/ports/devel/gobject-
> introspection/work/gobject-introspection-0.9.12/gir'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/gobject-
> introspection/work/gobject-introspection-0.9.12'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/devel/gobject-introspection.
> *** Error code 1
> 
> Stop in /usr/ports/devel/libsoup.

Hi David,

What is the output of the command "pkg_version -vL="?  Can you build
libsoup successfully in a clean jail (no ports installed) with an
up-to-date ports tree?

- From what I've seen by Googling the error message "ImportError: No
module named _md5", you likely have a broken Python 2.6 installation.
Can you pkg_delete it and reinstall it as well, assuming you don't have
a boatload of ports that depend on it?

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk048OEACgkQ0sRouByUApCN9wCfbGxNGFs7Nx033a14MtFTxs/u
aMMAmwSAR9KeYxpZUQIkieiJjwxmWeIB
=Czhr
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D38F0E2.6050708>