This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Build on 2.6 on AIX 5.3 fails (syntax error / undeclared identifier subtract)
Type: compile error Stage:
Components: Build Versions: Python 2.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gerard, loewis
Priority: normal Keywords:

Created on 2008-10-06 11:30 by gerard, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg74365 - (view) Author: Gerard (gerard) Date: 2008-10-06 11:30
I'm using an IBM compiler running in AIX 5.3.
Compilation of Python 2.6 fails (see explanation below).
Compilation of Python 2.5.2 is ok.

/home/xyz/python/Python-2.6$ lslpp -L | grep vac
  vac.C               C     F    IBM XL C Compiler
  vac.aix53.lib       C     F    XL C for AIX
Libraries for AIX
  vac.include         C     F    IBM XL C Compiler Include
  vac.lib             C     F    XL C for AIX Libraries
  vac.lic             C     F    XL C for AIX Licence
  vacpp.cmp.rte       C     F    IBM XL C/C++ Compiler     C     F    IBM XL C/C++ Tools
  vacpp.licAgreement    C     F    IBM XL C++ Electronic
  vacpp.memdbg.aix53.rte    C     F    IBM XL C/C++ User
  vacpp.memdbg.rte    C     F    IBM XL C/C++ User
Heap and

Configure --prefix <some path> 
runs ok.
Then, make fails:

/home/xyz/python/Python-2.6$ make
        cc_r -qlanglvl=extc89 -c  -DNDEBUG -O  -I. -IInclude -I./Include
-I/usr/local/include/  -DPy_BUILD_CORE -o Objects/frameobject.o
"Objects/frameobject.c", line 520.9: 1506-046 (S) Syntax error.
"Objects/frameobject.c", line 520.12: 1506-045 (S) Undeclared identifier
make: The error code from the last command is 1.
msg74387 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-10-06 19:26
This has been fixed in r66739.
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48302
2008-10-06 19:26:12loewissetstatus: open -> closed
resolution: fixed
messages: + msg74387
nosy: + loewis
2008-10-06 11:30:39gerardcreate