New submission from kevin: Download the python version 3.5.2 source code from official web site. Compile the python code by the following steps: sudo ./configure sudo make sudo make install
but from make, I get the following errors: /home/boot/tools/Python-3.5.2/Modules/_ssl.c:2582:46: error: dereferencing pointer to incomplete type ‘X509_STORE {aka struct x509_store_st}’ flags = X509_VERIFY_PARAM_get_flags(store->param); ^ /home/boot/tools/Python-3.5.2/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/boot/tools/Python-3.5.2/Modules/_ssl.c:2782:48: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’ pem_password_cb *orig_passwd_cb = self->ctx->default_passwd_callback; ^ /home/boot/tools/Python-3.5.2/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/boot/tools/Python-3.5.2/Modules/_ssl.c:3443:20: error: dereferencing pointer to incomplete type ‘X509_OBJECT {aka struct x509_object_st}’ switch (obj->type) { ^ /home/boot/tools/Python-3.5.2/Modules/_ssl.c:3453:18: error: ‘X509_LU_PKEY’ undeclared (first use in this function) case X509_LU_PKEY: then I install the openssl by compiling download code,and the ssl can work, and compile python code,the error still exists. please help me check where I take a mistake. Thanks a lot. ---------- assignee: christian.heimes components: SSL messages: 283699 nosy: christian.heimes, kevin.zhai80 priority: normal severity: normal status: open title: 3.5.2 compile error from ssl related. type: compile error versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com