Ticket #10875 (closed defect: fixed)
BUG: python24 builds without including the _locale module
| Reported by: | dominik@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | High | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.3.2 |
| Keywords: | python _locale | Cc: | dominik@…, jann@… |
| Port: |
Description
It appears that python (since 2.3 in fact) builds without including the _locale module (at least perhaps other modules don't build either) which cause troubles with other ports like, for instance, Trac that doesn't run because it depends on the locale module. The build on a PPC machine doesn't miss this module, though. The error can be triggered with the following code:
[lapin]~> python
Python 2.4.3 (#1, Oct 14 2006, 19:34:10)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getpreferredencoding()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/locale.py", line 399, in getpreferredencoding
import _locale
ImportError: No module named _locale
>>>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

