[issue13552] Compilation issues of the curses module on OpenIndiana

2013-01-02 Thread STINNER Victor

STINNER Victor added the comment:

What is the status of this issue? Is curses still broken on Python 3.4?

--
nosy: +trent

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13552
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13552] Compilation issues of the curses module on OpenIndiana

2012-07-06 Thread Justin Venus

Justin Venus justin.ve...@gmail.com added the comment:

Does OpenIndiana ship with the gnu version of ncurses like Solaris 11?

Headers:
/usr/include/ncurses

Libraries:
/usr/gnu/lib

If it matches Solaris, then you can use my patch[1] in issue 3786 to see if 
that works around the issue, like it does for Solaris.

1) http://bugs.python.org/file26171/bug3786.patch

--
nosy: +Justin.Venus

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13552
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13552] Compilation issues of the curses module on OpenIndiana

2012-03-07 Thread STINNER Victor

STINNER Victor victor.stin...@gmail.com added the comment:

Jesús Cea Avión also noticed in msg143798 from the issue #6755:

I have compiled ncurses myself, supporting wide characters. I get this warnings 
in the buildbots:


/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Modules/_cursesmodule.c:920:
 warning: implicit declaration of function 'wget_wch'
/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Modules/_cursesmodule.c:927:
 warning: implicit declaration of function 'mvwget_wch'
/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Modules/_cursesmodule.c:2760:
 warning: implicit declaration of function 'unget_wch'


Studying the ncurses.h, I see the definition of wget_wch and others. But 
these definitions are created only if _XOPEN_SOURCE_EXTENDED is defined.

Something to be explored?.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13552
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13552] Compilation issues of the curses module on OpenIndiana

2011-12-07 Thread STINNER Victor

New submission from STINNER Victor victor.stin...@haypocalc.com:

The _curses module has two issues on OpenSolaris:

 - using the default curses library, mvwchgat() cannot be found and _curses 
module compilation fails
 - there is a XPG4 curses library. I tried to use it using various hacks in 
_cursesmodule.c and setup.py, but test_curses failed with a crash.
 - if the readline library (not the Python module) is linked to libncursesw, 
the compilation of the _curses module fails because cchar_t is not defined. I 
suppose that curses.h is the bytes library, not the ncursesw Unicode library.

See issue #12567 for the ncursesw issue and issue #3786 for the mvwchgat() 
problem. The issue #3786 contains information about XPG4 curses and has a (non 
working) patch for the mvwchgat() issue.

--

I opened a new issue because #12567 is more specific to Unicode, and #3786 
talks about various issues (it is not specific to curses).

--
components: Build
messages: 149007
nosy: haypo, iandekit, jcea, mschmarck
priority: normal
severity: normal
status: open
title: Compilation issues of the curses module on OpenIndiana
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13552
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13552] Compilation issues of the curses module on OpenIndiana

2011-12-07 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

curses_hacks.patch: various hacks to use the XPG4 curses on OpenIndiana.

--
keywords: +patch
nosy: +enchanter
Added file: http://bugs.python.org/file23873/curses_hacks.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13552
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com