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

M.-A. Lemburg mal at egenix.com
Tue Oct 10 08:40:59 EDT 2017


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 \
> 		Modules/python.o \
> 		-L. -lpython2.7 -lpthread -ldl  -lutil   -lm  

The CONFIG_ARGS variable should always be set, so I assume that
your _sysconfigdata.py was generated in a previous broken build.

-- 
Marc-Andre Lemburg
eGenix.com



More information about the Python-bugs-list mailing list