[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-11 Thread Ned Deily
Change by Ned Deily : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-11 Thread Brian Sidebotham
Brian Sidebotham added the comment: I'm not sure any of my emails came through to this ticket from my mail client. I think this can be closed and filed under "not a bug". Here are the mails I sent.: Hi Marc-Andre, Thanks for engaging. I fixed RPATH and now things

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread Ned Deily
Change by Ned Deily : -- nosy: +ishcherb ___ Python tracker ___ ___ Python-bugs-list

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread Ned Deily
Ned Deily added the comment: Do you already have an existing version of Python 2.7 installed at the prefix location /opt/ws1? Because you are attempting to build with --enable-shared, the build may be picking up the already installed shared library. Try building without

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread Iryna Shcherbina
Change by Iryna Shcherbina : -- nosy: +ishcherb ___ Python tracker ___ ___

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Which CentOS/RHEL version do you have? Could you provide the output of 'cat /etc/redhat-release' ? -- nosy: +cstratak ___ Python tracker

Re: [issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread M.-A. Lemburg
I'm not sure whether this is related, but your quoting for --rpath doesn't appear to work: On 10.10.2017 14:17, Brian Sidebotham wrote: > LDFLAGS='-Wl,-rpath=$\\$$ORIGIN/../lib' \ > ... > gcc -pthread -Wl,-rpath=RIGIN/../lib -fprofile-generate -Xlinker > -export-dynamic -o python \ >

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-10 Thread Brian Sidebotham
New submission from Brian Sidebotham : I am getting the following error when trying to compile Python 2.7.14 (and previous 2.7 versions) on CentOS and RHEL7. The main problem is that CONFIG_ARGS does not exist. I've included the build. This RPATH is correct - it has