[Python-bugs-list] [ python-Bugs-816929 ] term.h present but cannot be compiled

SourceForge.net noreply at sourceforge.net
Thu Oct 2 23:09:28 EDT 2003


Bugs item #816929, was opened at 2003-10-03 15:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816929&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicholas Hawthorn (nhawthorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: term.h present but cannot be compiled

Initial Comment:
This report relates to building Python 2.3.1 on Irix 6.5.



Here is stderr output from:    configure  --with-cxx=CC

configure: WARNING: term.h: present but cannot be compiled

configure: WARNING: term.h: check for missing

prerequisite headers?

configure: WARNING: term.h: proceeding with the

preprocessor's result

configure: WARNING:     ##

------------------------------------ ##

configure: WARNING:     ## Report this to

bug-autoconf at gnu.org. ##

configure: WARNING:     ##

------------------------------------ ##



I did submit a bug report -- they said the issue is known.

"make" after this gave the following error, among others:-

cc-1059 cc: ERROR File =

/xlv4/med_psyc/nhn/py231/Python-2.3.1/Modules/termios.c

, Line = 633

  A function call is not allowed in a constant expression.



        {"CWERASE", CWERASE},



By experiment on a very short C program, term.h needs

curses.h to be included before it, and will not compile

correctly otherwise.  This would give a number of errors.



Thanks and best wishes!



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

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



More information about the Python-bugs-list mailing list