Problems compiling Python 3.4 on Ubuntu

cool-RR ram.rachum at
Mon Feb 3 11:50:15 CET 2014


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 _ssl.c \
    	-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
    	-L$(SSL)/lib -lssl -lcrypto

I installed openssl and various sqlite packages beforehand.

But when I do this: 

    ./configure --prefix=/opt/python3.4 && make && make install

I get, after a huge wall of text, this: 

    ./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? 


More information about the Python-list mailing list