Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 13:57:49 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-python@FreeBSD.ORG
Subject:   python27: curses broken
Message-ID:  <201009021157.o82BvndP090812@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009021157.o82BvndP090812>