Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   SSL on 3.2.2 (http://www.velocityreviews.com/forums/t868711-ssl-on-3-2-2-a.html)

Jason Friedman 02-25-2012 03:17 AM

SSL on 3.2.2
 
Hello, attempting to build from source on Ubuntu 11.10.

Before running ./configure I had set this in Modules/Setup.dist:

SSL=/usr/lib/ssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto

$ ll /usr/lib/ssl
total 4
lrwxrwxrwx 1 root root 14 2012-02-20 17:58 certs -> /etc/ssl/certs
drwxr-xr-x 2 root root 4096 2012-02-20 18:32 misc
lrwxrwxrwx 1 root root 20 2012-02-08 18:04 openssl.cnf -> /etc/ssl/openssl.cnf
lrwxrwxrwx 1 root root 16 2012-02-20 17:58 private -> /etc/ssl/private

$ /opt/python/bin/python3
Python 3.2.2 (default, Feb 24 2012, 20:07:04)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/python/lib/python3.2/ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named _ssl


All times are GMT. The time now is 08:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57