[Python-ideas] python configure --with-ssl

Pavel Machyniak machyniak at gmail.com
Wed May 21 10:46:32 CEST 2014


On 21.5.2014 6:45, Gregory P. Smith wrote:
> 
> 
> 
> On Tue, May 20, 2014 at 2:33 AM, Pavel Machyniak <machyniak at gmail.com
> <mailto:machyniak at gmail.com>> wrote:
> 
>     On 20.5.2014 0:30, Ned Deily wrote:
>     > In article <537A2E5F.4060004 at gmail.com
>     <mailto:537A2E5F.4060004 at gmail.com>>,
>     >  Pavel Machyniak <machyniak at gmail.com <mailto: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).
> 
> 
> If you ever go so far as to include options for everything, please
> include the ability to point to a specific path for readline, ncurses
> and zlib as well. :)
> 

Created an issue, please see and comment there:
http://bugs.python.org/issue21541


More information about the Python-ideas mailing list