Failure to build Python 3.3.2 SSL Module

2013-05-01 Thread George T
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

real1m20.759s
user2m6.167s
sys 0m8.557s
"""

Thanks in advance!

Cheers,

George
-- 
http://mail.python.org/mailman/listinfo/python-list


Accessing Windows Serial Port

2006-02-06 Thread George T.
I need to access the serial port via python on a windows machine.
Reading on the web, there are three solutions:  pyserial, siomodule and
USPP.  pyserial seems to be the best option since the other two are
tested with Windows 95 and older versions of python.  Would you agree
with this or have I missed an option?

Can anyone provide me an example of how to access the serial port with
pyserial?

Thanks
George T.

-- 
http://mail.python.org/mailman/listinfo/python-list