I was having problems building Python 2.7.2 from http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz
and enabling SSL in the build.
I have installed openssl using port and the libraries can be found in /opt/
local/include/openssl. However I wasn't able to make the build recognize
them.
Any advice?
Thanks!
p******g 发帖数: 347
2
post some error logs plz.
normally it's due to the missing header or missing lib file. or wrongly
configured include path and/or ld_library_path.
mac is unix, python is more linux-friendly, meaning they may well have
different default search path. also python by default compile w/o -fPIC. SSL
lib may need -fPIC.
anyway some error logs will use useful to tell what's wrong.
【在 f********o 的大作中提到】 : I was having problems building Python 2.7.2 from : http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz : and enabling SSL in the build. : I have installed openssl using port and the libraries can be found in /opt/ : local/include/openssl. However I wasn't able to make the build recognize : them. : Any advice? : Thanks!