python27: curses broken
Oliver Fromme
olli at lurza.secnetix.de
Thu Sep 2 11:58:08 UTC 2010
Is it a known problem that curses is broken with the new
python27 port? I tried it on 6-stable and on 8-stable
machines. The build ends with this message:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _curses _curses_panel
gdbm linuxaudiodev spwd
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Consequently, lib/python2.7/lib-dynload/_curses.so is missing,
so importing the curses module fails thusly:
>>> import curses
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/curses/__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses
>>>
The port's files/patch-setup.py modifies quite a few things
in the curses detection parts, but I'm afraid I can't really
make much sense of it.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"I invented Ctrl-Alt-Delete, but Bill Gates made it famous."
-- David Bradley, original IBM PC design team
More information about the freebsd-python
mailing list