Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'source,': 0.04; 'subject:Python': 0.06; 'error:': 0.07; '#include': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; '1:08': 0.16; 'subject:Problems': 0.16; 'sudo': 0.16; 'ubuntu.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'seems': 0.21; 'feb': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'this?': 0.23; 'compilation': 0.24; 'mon,': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'this:': 0.26; 'downloaded': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; 'file': 0.32; 'received:google.com': 0.35; 'thanks': 0.36; 'hi,': 0.36; 'skip:- 20': 0.37; 'skip:. 20': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'changed': 0.39; 'solve': 0.60; 'such': 0.63; 'to:addr:gmail.com': 0.65; 'to:charset:iso-8859-1': 0.74; 'apt-get': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8EyZ5GXOG6qPmtdI7KfWQv0llzlaY1JaQtuwFQNxkz0=; b=FKBAGtmqo1MXPCdnF8MSuXQCEqYeOhWNe6wkSI98c58OhLvc70CssKL0N1dnl2Cy9u aSnpmYC67JyHol6NDySwjzuFSL7vJHEDmNlvhC4X8WgKoQiwsi6ZT0CjcxJQWNOgxM4I WSZy7vq+jQKKZMQMRop0qjEceEkqo5tj+aajkG7ht4KCebrlQS9OXQS8uSbxDXBSSO7i vpHPHeok4O/ME829bWfKx1V5HB7+mtO6UIX2rk03Zo/rKUYh5+lYWI1aOK7s33LDV6Ph rID8HY5H6OeDANP8f0BLSIgUWpKzbE+pGiP431u/nMdLQSTAq0xTgrr7utHR9ZEgBCA2 4GVA== X-Received: by 10.182.126.225 with SMTP id nb1mr2304294obb.48.1391440461428; Mon, 03 Feb 2014 07:14:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20140203110816.GA7423@arxnet.hu> References: <61de065c-ad66-4752-b04f-a27a06bc052d@googlegroups.com> <20140203110816.GA7423@arxnet.hu> From: Ram Rachum Date: Mon, 3 Feb 2014 17:14:01 +0200 Subject: Re: Problems compiling Python 3.4 on Ubuntu To: =?ISO-8859-1?Q?Ervin_Heged=FCs?= Content-Type: multipart/alternative; boundary=089e01537c866e00b804f181fa3d Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 95 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391440470 news.xs4all.nl 2928 [2001:888:2000:d::a6]:34778 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65339 --089e01537c866e00b804f181fa3d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Worked! Thanks Ervin! On Mon, Feb 3, 2014 at 1:08 PM, Ervin Heged=FCs wrote: > Hello, > > On Mon, Feb 03, 2014 at 02:50:15AM -0800, cool-RR wrote: > > Hi, > > > > I'm trying to install Python 3.4b3 on Ubuntu. Since compilation seems t= o > be the only way, I'm trying that. > > > > I downloaded the source, I changed Setup.dist to have this: > > > > SSL=3D/usr > > _ssl _ssl.c \ > > -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ > > -L$(SSL)/lib -lssl -lcrypto > > > [...] > > > ./Modules/_ssl.c:57:25: fatal error: openssl/rsa.h: No such file or > directory > > #include "openssl/rsa.h" > > ^ > > compilation terminated. > > > > What do I do to solve this? > > try this: > > sudo apt-get install libssl-dev > > > cheers, > > > a. > > --089e01537c866e00b804f181fa3d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Worked! Thanks Ervin!

=
On Mon, Feb 3, 2014 at 1:08 PM, Ervin Heged= =FCs <airween@gmail.com> wrote:
Hello,

On Mon, Feb 03, 2014 at 02:50:15AM -0800, cool-RR wrote:
> Hi,
>
> I'm trying to install Python 3.4b3 on Ubuntu. Since compilation se= ems to be the only way, I'm trying that.
>
> I downloaded the source, I changed Setup.dist to have this:
>
> =A0 =A0 SSL=3D/usr
> =A0 =A0 _ssl _ssl.c \
> =A0 =A0 =A0 -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
> =A0 =A0 =A0 -L$(SSL)/lib -lssl -lcrypto
>
[...]

> =A0 =A0 ./Modules/_ssl.c:57:25: fatal error: openssl/rsa.h: No such fi= le or directory
> =A0 =A0 =A0#include "openssl/rsa.h"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^
> =A0 =A0 compilation terminated.
>
> What do I do to solve this?

try this:

sudo apt-get install libssl-dev


cheers,


a.


--089e01537c866e00b804f181fa3d--