[Python-bugs-list] [ python-Bugs-504284 ] Last build problems on AIX
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 16 Jan 2002 07:15:33 -0800
Bugs item #504284, was opened at 2002-01-16 01:50
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=504284&group_id=5470
Category: Build
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Sven Rubben (srubben)
>Assigned to: Michael Hudson (mwh)
Summary: Last build problems on AIX
Initial Comment:
Compilation fails with an error indicating that tparm
is called with too few parameters in the file
_cursesmodule.c
The file _cursesmodule.c calls tparm() with a define
to check if it is HPUX or not. The reason is that
tparm can be either defined with 10 arguments or with
a variable number of parameters.
On AIX you have both, but the standard is the one with
10 parameters. If you want the variable number of
parameters you have to define _TPARM_COMPAT.
So there are two solutions (look in _cursesmodule.c,
function PyCurses_tparm):
1) Change the ifdef around the tparm with 10 arguments
to also include AIX (you can use _AIX for this).
2) Define _TPARM_COMPAT if we are running on AIX.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2002-01-16 07:15
Message:
Logged In: YES
user_id=6656
Right, I think that's fixed in revision 2.62 of _cursesmodule.c.
Is it easy for you to check current CVS?
----------------------------------------------------------------------
Comment By: Sven Rubben (srubben)
Date: 2002-01-16 06:45
Message:
Logged In: YES
user_id=418821
I think _AIX should do the trick.
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2002-01-16 05:34
Message:
Logged In: YES
user_id=6656
Argh! <thumps head on desk in general frustration at unix>
At least this should be easy to fix. What's a good
preprocessor symbol for AIX?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=504284&group_id=5470