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.

classification
Title: configure does not create accurate Makefile on AIX
Type: behavior Stage:
Components: Build Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: David.Edelsohn, Michael.Felt, daelious
Priority: normal Keywords:

Created on 2010-11-23 13:38 by daelious, last changed 2022-04-11 14:57 by admin.

Messages (3)
msg122214 - (view) Author: Keith Meyer (daelious) Date: 2010-11-23 13:38
When running configure on AIX 5.3 using:

OPT=-O2 LDFLAGS=-s ./configure --with-gcc="xlc_r -q64" --with-cxx-main="xlC_r -q64" --disable-ipv6 AR="ar -X64"

The Makefile still contains g++ as the CXX compiler to be used.
msg221437 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-24 08:47
Is this still a problem as AIX is now up to (at least) 7.1?
msg338403 - (view) Author: Michael Felt (Michael.Felt) * Date: 2019-03-19 19:47
From memory I do not believe this is still a problem, at least on Python3.

There was recently a different issue (do not recall the #) where there was an issue with CXX regardless of compiler.

In any case, the apporach I would recommend would be to export the environment variable OBJECT_MODE=64.

The only issue I have run into is when pip modules require a C compiler and there is a size mis-match (unset OBJECT_MODE is assumed to be 32. exporting OBJECT_MODE=64 and then running the pip command again ends successfully (or at least goes farther).
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54723
2019-03-19 19:47:22Michael.Feltsetmessages: + msg338403
2019-03-16 09:23:20xtreaksetnosy: + Michael.Felt
2019-03-16 09:18:39SilentGhostsetnosy: + David.Edelsohn
2019-03-15 23:40:58BreamoreBoysetnosy: - BreamoreBoy
2014-06-24 08:47:58BreamoreBoysettype: behavior

messages: + msg221437
nosy: + BreamoreBoy
2011-06-14 15:43:29eric.araujosettitle: configure does not create accurate Makefile -> configure does not create accurate Makefile on AIX
2010-11-23 13:38:38daeliouscreate