Problems compiling Python 3.4 on Ubuntu
Ervin Hegedüs
airween at gmail.com
Mon Feb 3 06:08:17 EST 2014
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 to be the only way, I'm trying that.
>
> I downloaded the source, I changed Setup.dist to have this:
>
> SSL=/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.
More information about the Python-list
mailing list