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.

Author Michael.Felt
Recipients David.Edelsohn, Michael.Felt, aixtools@gmail.com, eric.araujo, ericvw, haubi, larry, lemburg, martin.panter, pelson, python-dev
Date 2017-01-24.14:23:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485267837.8.0.749734641429.issue18235@psf.upfronthosting.co.za>
In-reply-to
Content
As far as issue10656 and this issue are concerned:

Python-3.4 is out of context (but 3.4.6 was just released) - and does not work with 'out of tree' builds. 

The other versions: 2.7.13, 3.5.3 and 3.6.0 do build out-of-tree.
Note 3.5.3 and 3.6.0 use a different name for sysconfigdata.py

Notes:

FYI: regarding build and src in different directories

Not working...

unable to execute '../src/Python-3.4.6/Modules/ld_so_aix': No such file or directory
unable to execute '../src/Python-3.4.6/Modules/ld_so_aix': No such file or directory
 many many times

Concludes with:
ImportError: No module named 'time'
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
../src/Python-3.4.6/install-sh: ../src/Python-3.4.6/Modules/ld_so_aix does not exist
make: 1254-004 The error code from the last command is 1.

root@x064:[/data/prj/python/Python-3.4.6]find . -name _sysconfigdata.py -ls -exec grep LDSHARED {} \;
48049316   19 -rw-r-----  1 root      felt         19209 Jan 24 13:55 ./build/lib.aix-5.3-3.4/_sysconfigdata.py
 'BLDSHARED': '/opt/lib/python3.4/config/ld_so_aix xlc_r '
 'LDSHARED': '/opt/lib/python3.4/config/ld_so_aix xlc_r '

+++++++ Working ++++++++

Working: 2.7.13 -- Note: the 'lines' in sysconfig.py are removed:
root@x064:[/data/prj/python/Python-2.7.13.0]find . -name _sysconfigdata\*.py -ls -exec grep LDSHARED {} \;
48038426   16 -rw-r-----  1 root      felt         15807 Jan 24 13:36 ./build/lib.aix-5.3-2.7/_sysconfigdata.py
 'BLDSHARED': 'Modules/ld_so_aix xlc_r -bI:Modules/python.exp',
 'LDSHARED': '/opt/lib/python2.7/config/ld_so_aix xlc_r -bI:/opt/lib/python2.7/config/python.exp',

Working: 3.5.3
48049196   21 -rw-r-----  1 root      felt         20640 Jan 24 13:55 ./build/lib.aix-5.3-3.5/_sysconfigdata.py
 'BLDSHARED': '/opt/lib/python3.5/config-3.5m/ld_so_aix xlc_r '
 'LDSHARED': '/opt/lib/python3.5/config-3.5m/ld_so_aix xlc_r '

Working: 3.6.0 -- Note new file name!!
root@x064:[/data/prj/python/Python-3.6.0]find . -name _sysconfigdata\*.py -ls -exec grep LDSHARED {} \;
47794146   20 -rw-r-----  1 root      felt         20394 Jan 24 13:49 ./build/lib.aix-5.3-3.6/_sysconfigdata_m_aix5_.py
 'BLDSHARED': 'Modules/ld_so_aix xlc_r -bI:Modules/python.exp',
 'LDSHARED': '/opt/lib/python3.6/config-3.6m/ld_so_aix xlc_r '
History
Date User Action Args
2017-01-24 14:23:57Michael.Feltsetrecipients: + Michael.Felt, lemburg, larry, eric.araujo, ericvw, haubi, python-dev, martin.panter, pelson, David.Edelsohn, aixtools@gmail.com
2017-01-24 14:23:57Michael.Feltsetmessageid: <1485267837.8.0.749734641429.issue18235@psf.upfronthosting.co.za>
2017-01-24 14:23:57Michael.Feltlinkissue18235 messages
2017-01-24 14:23:57Michael.Feltcreate