Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 09:29:14 +0000
From:      David Southwell <david@vizion2000.net>
To:        glarkin@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: devel/libsoup-2.32.2 Compile error _md5 problem
Message-ID:  <201101210929.14799.david@vizion2000.net>
In-Reply-To: <4D38F0E2.6050708@FreeBSD.org>
References:  <201101191704.43383.david@vizion2000.net> <201101202239.42696.david@vizion2000.net> <4D38F0E2.6050708@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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

Hi Greg

Thanks for the suggestion I also think it is something to do with python2.6 
which I have already rebuilt one. I am out of the office until Tuesday but will 
set the system on another complete rebuild of python before I leave.  The jail 
idea will have to wait until then.


Thanks
David
I will report back
Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network



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