[Mailman-Users] compile problems with mailman-2.1.10/11

Mark Sapiro mark at msapiro.net
Wed Aug 6 16:29:13 CEST 2008

b-vol wrote:
>I am new to this list.  i have been trying to compile  mailman-2.1.10 and 
>mailman-2.1.11 (I have compiled mailman successfully  a  couple of years 
>ago ). The computer is  an athlon-based PC with LFS 
>(linuxfromscratch) -kernel,  gcc-4.2.2,  openssl-0.98 is 
>in /usr/local and python-2.5.2 is in /usr/. The compiler spews the following 
>in both instances  (i.e.for mailman-2.1.10 and mailman-2.1.11):-
>  File "bin/update", line 37, in <module>
>    import md5
>  File "/usr/lib/python2.5/md5.py", line 6, in <module>
>    from hashlib import md5
>  File "/usr/lib/python2.5/hashlib.py", line 133, in <module>
>    md5 = __get_builtin_constructor('md5')
>  File "/usr/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
>    import _md5
>ImportError: No module named _md5
>make: *** [update] Error 1

I've seen this exact problem myself. In my case, I had python 2.4.3
installed in /usr and I installed python 2.5.1 from source in
/usr/local. I don't remember the details, but I played around with
symlinks and made some progress, but ultimately removed python 2.5.1
and reinstalled it in /usr and that solved the problem.

This is not a Mailman problem, It is a Python installation problem. I
think if you just start an interactive Python and type 'import md5'
you'll see the same thing.


Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list