option to enable ncursesw in lang/python25

Rong-En Fan rafan at freebsd.org
Sun Apr 13 04:29:12 UTC 2008


On Sun, Apr 13, 2008 at 11:19:14AM +0800, Cheng-Lung Sung wrote:
> Hi,
>     If user enable the ncursesw opt, how many py- ports will be broken?

Not sure, but I think it will few very few. net-im/pebrot is an
IM written in python and it uses ncurses. It works well. Let me
try to figure out how many py- ports actually uses ncurses or
readline, and see if they are broken or not. But as I stated
below, other distribution does the same thing so I suspect
there are few issues.

Regards,
Rong-En Fan

> 
> 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 
> > ncursesw. This may cause problems, so that why we disable linking
> > against ncursesw in files/patch-setup.py. 
> > 
> > However, this disables the ability to use ncursesw in some python
> > scripts. Also, it seems that other distributions, like Debian, 
> > actually links to ncursesw and I'm not aware of any issues with
> > that. 
> > 
> > So, bottom line is we add an option to lang/python25, so that 
> > 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?
> 
> 
> 
> 
> -- 
> Alan Cheng-Lung Sung - clsung@




More information about the freebsd-python mailing list