[pypy-dev] Build pypy 2.5.1 source code on Redhat EL5.7

Yicong Huang hengha.mao at gmail.com
Fri May 8 13:32:28 CEST 2015


Hi,

We would like to try latest pypy 2.5.1.
However, we found out the downloaded binary was not compatible with our
Linux enviroment (Redhat EL5.7, kernel 2.6.32). And for some reasons, we
have no plans to upgrade Linux soon.
I tried to build pypy 2.5.1 source code, and met some errors as below:

[translation:ERROR] CompilationError: CompilationError(err="""
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c: In
function ‘dump_section_SSL_TLSEXT_ERR_ALERT_FATAL’:
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c:719:
error: ‘SSL_TLSEXT_ERR_ALERT_FATAL’ undeclared (first use in this function)
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c:719:
error: (Each undeclared identifier is reported only once
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c:719:
error: for each function it appears in.)
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c: In
function ‘dump_section_SSL_TLSEXT_ERR_OK’:
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c:729:
error: ‘SSL_TLSEXT_ERR_OK’ undeclared (first use in this function)
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c: In
function ‘dump_section_TLSEXT_NAMETYPE_host_name’:
[translation:ERROR] /tmp/usession-release-2.5.1-23/platcheck_31.c:769:
error: ‘TLSEXT_NAMETYPE_host_name’ undeclared (first use in this function)

I checked openssl version on the system:
$grep "define OPENSSL_VERSION_TEX" /usr/include/openssl/opensslv.h
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008"
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.8e-rhel5 01 Jul 2008"

OpenSSL version looks old and does not have those variables definition.
Any good ideas to solve the issue?

Thanks!

-Ethan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150508/b4edf7ea/attachment.html>


More information about the pypy-dev mailing list