This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kevin.zhai80
Recipients christian.heimes, kevin.zhai80
Date 2016-12-20.15:15:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482246944.19.0.555352966537.issue29027@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-12-20 15:15:44kevin.zhai80setrecipients: + kevin.zhai80, christian.heimes
2016-12-20 15:15:44kevin.zhai80setmessageid: <1482246944.19.0.555352966537.issue29027@psf.upfronthosting.co.za>
2016-12-20 15:15:44kevin.zhai80linkissue29027 messages
2016-12-20 15:15:43kevin.zhai80create