[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
New submission from Redcxx : Python failed `make` when building from source if `--enabled-share` is pass in when running `./configure`. ...(some output which seem irrevelent) /bin/ld: /home/e38160wl/Python3.7.4/local/lib/libssl.a(s3_meth.o): relocation R_X86_64_32 against `.rodata'

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: Sorry for that, Heres are my os infomation: LSB Version: :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-ia32:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-ia32:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Change by Redcxx : -- type: crash -> compile error ___ Python tracker <https://bugs.python.org/issue38111> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: Sorry I mistype the changes I made in Modules/Setup.dist, this is the correct one: # Socket module helper for SSL support; you must comment out the other # socket line above, and possibly edit the SSL variable: SSL=/home/e38160wl/Python3.7.4/local/openssl ssl_path

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: That works, but I notice some message somewhere near the end of running `make`: running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers Python build finished successfully! The necessary bits to build these optional modules were not found:

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Redcxx added the comment: not sure if it is related but I am installing Python in a different directory and I have added that to the prefix option when runnning configure. -- ___ Python tracker <https://bugs.python.org/issue38