| Summary: | "portinstall mailman" fails | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Heinrich Rebehn <rebehn> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Hi, I have found the source of the problem: I already had a "mm_cfg.py" in /usr/local/mailman/Mailman, which was lacking a "from Defaults import *" line. Don't know why, i can not recall deliberately deleting it. The bug can be closed! Heinrich Rebehn State Changed From-To: open->closed Orginators request |
Trying to install "mailman" from ports using "make clean install " in /usr/ports/mail/mailman or "portinstall mailman" results in: Compiling /usr/local/mailman/Mailman/i18n.py ... Compiling /usr/local/mailman/Mailman/versions.py ... Traceback (most recent call last): File "bin/update", line 48, in ? from Mailman import MailList File "/usr/local/mailman/Mailman/MailList.py", line 49, in ? from Mailman.Archiver import Archiver File "/usr/local/mailman/Mailman/Archiver/__init__.py", line 17, in ? from Archiver import * File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 36, in ? from Mailman.i18n import _ File "/usr/local/mailman/Mailman/i18n.py", line 52, in ? set_language() File "/usr/local/mailman/Mailman/i18n.py", line 34, in set_language _translation = gettext.translation('mailman', mm_cfg.MESSAGES_DIR, AttributeError: 'module' object has no attribute 'MESSAGES_DIR' *** Error code 1 Stop in /usr/ports/mail/mailman/work/mailman-2.1.2. *** Error code 1 Stop in /usr/ports/mail/mailman. How-To-Repeat: Try to install mailman from current ports tree (as of 15-SEP-2003)