Failure to build Python 3.3.2 SSL Module

George T contact_george at thiruva.com
Wed May 1 20:13:44 EDT 2013


Anyone have any thoughts on building Python 3.3.2 with the SSL module? I'm on RedHat Enterprise 6.4 and used Yum to install the openssl and openssl-devel 1.0.1e packages. But I keep getting a failure to build the SSL module - even if I set CFLAGS and LDFLAGS to find the headers and libs or additionally install the 0.9.8e OpenSSL. Any thoughts on what the build scripts are looking for or failing on?

"""
gcc -pthread -shared -pg -L/usr/lib64 -L/usr/lib64/openssl/engines -L/usr/lib64/openssl098e/engines -L/usr/lib64 -L/usr/lib64/openssl/engines -L/usr/lib64/openssl098e/engines -L/usr/lib64 -L/usr/lib64/openssl/engines -L/usr/lib64/openssl098e/engines -I/usr/include build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/callproc.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/cfield.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/closures.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/dlmalloc.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/x86/ffi64.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/x86/unix64.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-x86_64-3.3/home/idcuser/ftp/Python-3.3.1/Modules/_ctypes/libffi/src/x86/sysv.o -L/usr/lib64 -L/usr/lib64/openssl/engines -L/usr/lib64/openssl098e/engines -L/usr/local/lib -o build/lib.linux-x86_64-3.3/_ctypes.cpython-33m.so

Failed to build these modules:
_ssl                                                  

running build_scripts
creating build/scripts-3.3
copying and adjusting /home/idcuser/ftp/Python-3.3.1/Tools/scripts/pydoc3 -> build/scripts-3.3
copying and adjusting /home/idcuser/ftp/Python-3.3.1/Tools/scripts/idle3 -> build/scripts-3.3
copying and adjusting /home/idcuser/ftp/Python-3.3.1/Tools/scripts/2to3 -> build/scripts-3.3
copying and adjusting /home/idcuser/ftp/Python-3.3.1/Tools/scripts/pyvenv -> build/scripts-3.3
changing mode of build/scripts-3.3/pydoc3 from 664 to 775
changing mode of build/scripts-3.3/idle3 from 664 to 775
changing mode of build/scripts-3.3/2to3 from 664 to 775
changing mode of build/scripts-3.3/pyvenv from 664 to 775
renaming build/scripts-3.3/pydoc3 to build/scripts-3.3/pydoc3.3
renaming build/scripts-3.3/idle3 to build/scripts-3.3/idle3.3
renaming build/scripts-3.3/2to3 to build/scripts-3.3/2to3-3.3
renaming build/scripts-3.3/pyvenv to build/scripts-3.3/pyvenv-3.3

real	1m20.759s
user	2m6.167s
sys	0m8.557s
"""

Thanks in advance!

Cheers,

George



More information about the Python-list mailing list