Helmut Schneider wrote:
>
>I'm running mailman 2.1.9 chrooted. Recently FreeBSD switched from Python2.4
>to Python2.5 as default. As an effect mailman won't start anymore using
>Python2.5:
>
>Traceback (most recent call last):
> File "/usr/local/mailman/bin/mailmanctl", line 107, in <module>
> from Mailman import Utils
> File "/usr/local/mailman/Mailman/Utils.py", line 32, in <module>
> import sha
> File "/usr/local/lib/python2.5/sha.py", line 6, in <module>
> from hashlib import sha1 as sha
> File "/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
> md5 = __get_builtin_constructor('md5')
> File "/usr/local/lib/python2.5/hashlib.py", line 60, in
>__get_builtin_constructor
> import _md5
>ImportError: No module named _md5
>
>What did I miss? I suspect that some additional files need to be copied to
>the jail but which ones? Using Python2.4 mailman still works fine.
I had a similar if not the identical problem when I upgraded from
python 2.4 to 2.5 on a test system under cygwin (no chroot).
It turned out that Python 2.4 had been installed with prefix = /usr
(library in /usr/lib/python2.4) and Python 2.5 was installed with
prefix = /usr/local (library in /usr/local/lib/python2.5).
I think I could have fixed it with a few symlinks, but I wound up
removing and reinstalling python 2.5 with prefix = /usr.
Perhaps this will help you figure out what you need to do.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp