Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2008 17:56:24 +0800
From:      Rong-En Fan <rafan@freebsd.org>
To:        freebsd-python@freebsd.org
Subject:   option to enable ncursesw in lang/python25
Message-ID:  <20080411095624.GM16394@svm.csie.ntu.edu.tw>

next in thread | raw e-mail | index | archive | help

--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--



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