Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20852

SSL on 3.2.2

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!feed.xsnews.nl!border-3.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'attempting': 0.04; 'ubuntu': 0.04; 'importerror:': 0.07; 'python': 0.08; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; '4096': 0.16; '60,': 0.16; '[gcc': 0.16; '_ssl': 0.16; 'certs': 0.16; 'linux2': 0.16; 'propagate': 0.16; 'subject:SSL': 0.16; '>>>': 0.18; '(most': 0.21; 'feb': 0.22; 'sender:addr:gmail.com': 0.24; 'traceback': 0.24; 'module': 0.26; 'import': 0.27; 'skip:" 30': 0.28; 'message-id:@mail.gmail.com': 0.29; 'received:209.85.210.46': 0.30; 'received:mail- pz0-f46.google.com': 0.30; 'error': 0.30; 'source': 0.32; "can't": 0.33; 'named': 0.33; 'file': 0.34; 'running': 0.34; 'last):': 0.34; 'root': 0.34; 'ssl': 0.34; 'to:addr:python-list': 0.35; 'hello,': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'type': 0.61; 'header:Received:6': 0.61; 'more': 0.61; 'total': 0.61; './configure': 0.84; '17:58': 0.84; '18:32': 0.84; '2012,': 0.84
Received-SPF pass (google.com: domain of jsf80238@gmail.com designates 10.68.190.8 as permitted sender) client-ip=10.68.190.8;
Authentication-Results mr.google.com; spf=pass (google.com: domain of jsf80238@gmail.com designates 10.68.190.8 as permitted sender) smtp.mail=jsf80238@gmail.com; dkim=pass header.i=jsf80238@gmail.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=0TJO/sJEyK0Y9A6Yt27alxARxvecnTwxm2OWxt12co4=; b=PlpvEQO/lb+Lk2uJ4eX82qCoCdgJu/Y11njy6he1ZOZeTrv6OcMiaYE1Jc+rf1AHaC IWwNTySXO8tCQiL97XKvAUPhlfYtGGtT8LK2IxVmqNK6ZIvjetBilG+sCjhKqLV1mzJU r+y6Zq5yUnPrJu3ViZGXqx/lfwEAO4+CRJTSA=
MIME-Version 1.0
Sender jsf80238@gmail.com
Date Fri, 24 Feb 2012 20:17:07 -0700
X-Google-Sender-Auth JFZZbCozqhyPL_SZUjMMbXL1WJA
Subject SSL on 3.2.2
From Jason Friedman <jason@powerpull.net>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.153.1330139830.3037.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330139830 news.xs4all.nl 6874 [2001:888:2000:d::a6]:38707
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20852

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

SSL on 3.2.2 Jason Friedman <jason@powerpull.net> - 2012-02-24 20:17 -0700

csiph-web