[Python-ideas] python configure --with-ssl
Pavel Machyniak
machyniak at gmail.com
Tue May 20 11:33:58 CEST 2014
On 20.5.2014 0:30, Ned Deily wrote:
> In article <537A2E5F.4060004 at gmail.com>,
> Pavel Machyniak <machyniak at gmail.com>
> wrote:
>> please add option to python configure for setting custom `openssl`
>> installation on python build, eg `--with-ssl=path` as used commonly.
>> Otherwise it is difficult to build python with specific `openssl`
>> installation/compilation, see eg.
>> http://stackoverflow.com/questions/22409092/coredump-when-compiling-python-wit
>> h-a-custom-openssl-version.
>
> This sort of request has come up before on the Python bug tracker. With
> a quick search, I didn't find an exact match for what you request,
> although there might be a more general issue open to allow more control
> over all third-party libraries. However, there is
> http://bugs.python.org/issue5575 which provides a patch to allow control
> using environment variables rather than configure options. Feel free to
> open a new issue or comment on this one.
>
Thanks,
I am well aware of the patch but it does not work if there is default
openssl installation within the system (because it only adds another
path to the END of the search list), and although the patch is from the
year 2009 it is not released (accepted?) yet.
I will probably find some time and propose the solution/patch using
configure options --with-ssl (and also --with-ssl-includes,
--with-ssl-libs, --with_krb5, and maybe --with-sqlite,
--with-sqlite-includes, --with-sqlite-libs as well).
Pavel Machyniak
More information about the Python-ideas
mailing list