[issue38111] Error while building Python from source

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: Ok, that shows that the issue is not actually with the Python build, but with trying to find the right incantation for both OpenSSL and Python to get what you want :). As such I'm going to go ahead and close the issue. As for getting you going, there is a bit

[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

[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: _bz2

[issue38111] Error while building Python from source

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: I believe the better option would be to pass `CPPFLAGS=-I/home/e38160wl/local/openssl/include LDFLAGS=-L/home/e38160wl/local/openssl/lib` instead of editing Setup[.dist]. Could you give that a try? Otherwise, this may be an issue with the way OpenSSL was bui

[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=/ho

[issue38111] Error while building Python from source

2019-09-11 Thread Redcxx
Change by Redcxx : -- type: crash -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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:print

[issue38111] Error while building Python from source

2019-09-11 Thread Zachary Ware
Zachary Ware added the comment: Could you add some more details about what you're doing here, such as OS, OS version, compiler and compiler version, etc.? We routinely test `--enable-shared` builds on both Linux and FreeBSD in our post-merge buildbot setup, and have not had any issues with

[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' can no