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


Groups > comp.lang.python > #65328

Problems compiling Python 3.4 on Ubuntu

Newsgroups comp.lang.python
Date 2014-02-03 02:50 -0800
Message-ID <61de065c-ad66-4752-b04f-a27a06bc052d@googlegroups.com> (permalink)
Subject Problems compiling Python 3.4 on Ubuntu
From cool-RR <ram.rachum@gmail.com>

Show all headers | View raw


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.

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


Thread

Problems compiling Python 3.4 on Ubuntu cool-RR <ram.rachum@gmail.com> - 2014-02-03 02:50 -0800
  Re: Problems compiling Python 3.4 on Ubuntu Ervin Hegedüs <airween@gmail.com> - 2014-02-03 12:08 +0100
  Re: Problems compiling Python 3.4 on Ubuntu Ram Rachum <ram.rachum@gmail.com> - 2014-02-03 17:14 +0200
    Re: Problems compiling Python 3.4 on Ubuntu Rustom Mody <rustompmody@gmail.com> - 2014-02-03 07:51 -0800
  Re: Problems compiling Python 3.4 on Ubuntu Christian Heimes <christian@python.org> - 2014-02-03 16:50 +0100
  Re: Problems compiling Python 3.4 on Ubuntu Chris Angelico <rosuav@gmail.com> - 2014-02-04 05:48 +1100
  Re: Problems compiling Python 3.4 on Ubuntu Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-02-03 13:05 -0600
  Re: Problems compiling Python 3.4 on Ubuntu Chris Angelico <rosuav@gmail.com> - 2014-02-04 06:11 +1100
    Re: Problems compiling Python 3.4 on Ubuntu Rustom Mody <rustompmody@gmail.com> - 2014-02-03 18:34 -0800
      Re: Problems compiling Python 3.4 on Ubuntu Chris Angelico <rosuav@gmail.com> - 2014-02-04 13:45 +1100

csiph-web