From owner-freebsd-python@FreeBSD.ORG Thu Sep 2 11:58:08 2010 Return-Path: Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70ECD1065722 for ; Thu, 2 Sep 2010 11:58:08 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id E522E8FC15 for ; Thu, 2 Sep 2010 11:58:07 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o82BvnPk090813; Thu, 2 Sep 2010 13:58:04 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o82BvndP090812; Thu, 2 Sep 2010 13:57:49 +0200 (CEST) (envelope-from olli) Date: Thu, 2 Sep 2010 13:57:49 +0200 (CEST) Message-Id: <201009021157.o82BvndP090812@lurza.secnetix.de> From: Oliver Fromme To: freebsd-python@FreeBSD.ORG X-Newsgroups: list.freebsd-python User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Thu, 02 Sep 2010 13:58:05 +0200 (CEST) Cc: Subject: python27: curses broken X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 11:58:08 -0000 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 "", line 1, in File "/usr/local/lib/python2.7/curses/__init__.py", line 15, in 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