Problems compiling Python 3.4 on Ubuntu

cool-RR ram.rachum at gmail.com
Mon Feb 3 05:50:15 EST 2014


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

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? 


Thanks,
Ram.




More information about the Python-list mailing list