From owner-freebsd-python@FreeBSD.ORG Sun Apr 13 03:38:43 2008 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 BDE891065679; Sun, 13 Apr 2008 03:38:43 +0000 (UTC) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from FreeBSD.csie.nctu.edu.tw (freebsd.cs.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id 74D758FC17; Sun, 13 Apr 2008 03:38:43 +0000 (UTC) (envelope-from clsung@FreeBSD.csie.nctu.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.nctu.edu.tw (Postfix) with ESMTP id D11857E819; Sun, 13 Apr 2008 11:19:21 +0800 (CST) Received: from FreeBSD.csie.nctu.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9xZ6tJ7MJMeu; Sun, 13 Apr 2008 11:19:14 +0800 (CST) Received: by FreeBSD.csie.nctu.edu.tw (Postfix, from userid 1038) id 476D37E8AB; Sun, 13 Apr 2008 11:19:14 +0800 (CST) Date: Sun, 13 Apr 2008 11:19:14 +0800 From: Cheng-Lung Sung To: Rong-En Fan Message-ID: <20080413031914.GA92655@FreeBSD.csie.nctu.edu.tw> References: <20080411095624.GM16394@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20080411095624.GM16394@svm.csie.ntu.edu.tw> X-Fingerprint: E0BC 57F9 F44B 46C6 DB53 8462 F807 89F3 956E 8BC1 X-Public-Key: http://freefall.FreeBSD.org/~clsung/pubring.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-python@freebsd.org Subject: Re: option to enable ncursesw in lang/python25 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: Sun, 13 Apr 2008 03:38:43 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=big5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, If user enable the ncursesw opt, how many py- ports will be broken? On Fri, Apr 11, 2008 at 05:56:24PM +0800, Rong-En Fan wrote: > Currently, due to readline module links against libreadline.so > which links libncurses.so. If python is compiled to use ncursesw, > when importing readline module, it brings *both* ncurses and=20 > ncursesw. This may cause problems, so that why we disable linking > against ncursesw in files/patch-setup.py.=20 >=20 > However, this disables the ability to use ncursesw in some python > scripts. Also, it seems that other distributions, like Debian,=20 > actually links to ncursesw and I'm not aware of any issues with > that.=20 >=20 > So, bottom line is we add an option to lang/python25, so that=20 > for users want to use ncursesw, they can enable. In the future, > if we solve the readline issue, we should make this as default. >=20 > Any suggestions? --=20 Alan Cheng-Lung Sung - clsung@ --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkgBe7EACgkQ+AeJ85Vui8GydwCfZhr0pb8sHgL/6gALaMbQlbig xt4Anib8lF0nmSQSsM6APjUFTsjVlMvu =pAnk -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--