[Pythonmac-SIG] Another build question: ssl?

Jack Jansen Jack.Jansen@cwi.nl
Wed, 20 Nov 2002 13:17:10 +0100


On Tuesday, Nov 19, 2002, at 23:20 Europe/Amsterdam, Russell E Owen 
wrote:

> Anybody know how to build Python for MacOS X with socket.ssl support? 
> Ideally I'd like to compile the framework build of Python 2.2.2 under 
> MacOS X 10.2. The default way of doing it (as documented in 
> /Mac/OSX/README) works but doesn't seem to include ssl support. If 
> that's not reasonable, then I am willing to go with the normal unix 
> build instead.

Ssl support is automatic is ssl is located in either /usr/local/ssl or 
/usr/contrib/ssl. If it is elsewhere: edit setup.py in the main python 
source folder, and look at the lines where ssl_incs and ssl_libs are 
set and add the place where you've installed ssl.

This should enable ssl support for both framework and static builds.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -