From owner-freebsd-python@FreeBSD.ORG Fri Apr 11 10:07:22 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 0A1DE106566B for ; Fri, 11 Apr 2008 10:07:22 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id 804838FC21 for ; Fri, 11 Apr 2008 10:07:21 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.14.2/8.14.2) with ESMTP id m3B9uOjA033483 for ; Fri, 11 Apr 2008 17:56:24 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.14.2/8.14.2/Submit) id m3B9uOKm005752 for freebsd-python@freebsd.org; Fri, 11 Apr 2008 17:56:24 +0800 (CST) (envelope-from rafan) Date: Fri, 11 Apr 2008 17:56:24 +0800 From: Rong-En Fan To: freebsd-python@freebsd.org Message-ID: <20080411095624.GM16394@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c8UbHMnQwI7BF+TB" Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Fri, 11 Apr 2008 10:07:22 -0000 --c8UbHMnQwI7BF+TB Content-Type: multipart/mixed; boundary="NPWyolIJAVLYbHY6" Content-Disposition: inline --NPWyolIJAVLYbHY6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 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 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. Any suggestions? Regards, Rong-En Fan --NPWyolIJAVLYbHY6-- --c8UbHMnQwI7BF+TB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf/NccACgkQ144QkYb9jGjzYwCdHBQqQOG4/zo8mL0ZExecZGb/ SOMAn0sxHhllsepRxQ2YRl8t2UMADExV =pZh2 -----END PGP SIGNATURE----- --c8UbHMnQwI7BF+TB--