[Python-bugs-list] [ python-Bugs-701751 ] WINDOW in py_curses.h needs ncurses-devel

SourceForge.net noreply@sourceforge.net
Tue, 11 Mar 2003 11:13:40 -0800


Bugs item #701751, was opened at 2003-03-11 13:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=701751&group_id=5470

Category: Build
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Moshe Yudkowsky (myudkowsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: WINDOW in py_curses.h needs ncurses-devel

Initial Comment:
When trying to build 2.2.2 (Mandrake 9.1 Linux), I got
errors when trying to compile _cursesmodule.c. This is
because py_curses uses WINDOW.

Ultimately, I traced this to my configuration: I had a
curses.h file (from somewhere), I had ncurses 5.2
installed (part of the standard Mandrake RPM-based
installation), but I didn't have libncurses-devel
installed. I installed that RPM and the modules
compiled (and tested) correctly.

The "configure" program didn't catch this problem.
Python compiled and ran anyway, but I would expect that
the requirement for an obscure "devel" package ought to
be flagged, either in the README or in the configure
script.

I'd submit a fix, but I don't know what the behavior is
*supposed* to be. What I see from the output of
"configure" is that configure *still* didn't find the
"ncurses.h" file, even though the compiler caught it later.

Logs of this compile on request.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=701751&group_id=5470